17 references to TokenInformationClass
mscorlib (17)
system\security\principal\windowsidentity.cs (17)
176bool result = Win32Native.GetTokenInformation(userToken, (uint) TokenInformationClass.TokenType, 346TokenType tokenType = (TokenType)GetTokenInformation<int>(TokenInformationClass.TokenType); 352int level = GetTokenInformation<int>(TokenInformationClass.TokenImpersonationLevel); 526using (SafeLocalAllocHandle tokenOwner = GetTokenInformation(m_safeTokenHandle, TokenInformationClass.TokenOwner)) { 544using (SafeLocalAllocHandle tokenUser = GetTokenInformation(m_safeTokenHandle, TokenInformationClass.TokenUser)) { 562using (SafeLocalAllocHandle pGroups = GetTokenInformation(m_safeTokenHandle, TokenInformationClass.TokenGroups)) { 885private T GetTokenInformation<T>(TokenInformationClass tokenInformationClass) where T : struct{ 931using (SafeLocalAllocHandle pStatistics = GetTokenInformation(safeTokenHandle, TokenInformationClass.TokenStatistics)) { 938private static SafeLocalAllocHandle GetTokenInformation (SafeAccessTokenHandle tokenHandle, TokenInformationClass tokenInformationClass) { 1301AddDeviceGroupSidClaims(m_deviceClaims, TokenInformationClass.TokenDeviceGroups); 1304AddTokenClaims(m_userClaims, TokenInformationClass.TokenUserClaimAttributes, ClaimTypes.WindowsUserClaim); 1307AddTokenClaims(m_deviceClaims, TokenInformationClass.TokenDeviceClaimAttributes, ClaimTypes.WindowsDeviceClaim); 1321void AddDeviceGroupSidClaims(List<Claim> instanceClaims, TokenInformationClass tokenInformationClass) 1382safeAllocHandlePrimaryGroup = GetTokenInformation(m_safeTokenHandle, TokenInformationClass.TokenPrimaryGroup); 1390safeAllocHandle = GetTokenInformation(m_safeTokenHandle, TokenInformationClass.TokenGroups); 1444safeAllocHandle = GetTokenInformation(m_safeTokenHandle, TokenInformationClass.TokenUser); 1466void AddTokenClaims(List<Claim> instanceClaims, TokenInformationClass tokenInformationClass, string propertyValue)