system\security\principal\windowsidentity.cs (6)
128internal WindowsIdentity (SafeAccessTokenHandle safeTokenHandle) : this (safeTokenHandle.DangerousGetHandle(), null, -1) {
135public WindowsIdentity (IntPtr userToken) : this (userToken, null, -1) {}
140public WindowsIdentity (IntPtr userToken, string type) : this (userToken, type, -1) {}
145public WindowsIdentity (IntPtr userToken, string type, WindowsAccountType acctType) : this (userToken, type, -1) {}
151: this (userToken, type, isAuthenticated ? 1 : 0) {}
675WindowsIdentity wi = new WindowsIdentity(userToken, null, -1);