Searched refs:hAccessToken (Results 1 – 2 of 2) sorted by relevance
338 if (hAccessToken == NULL) in osl_getUserIdent()341 if (hAccessToken) in osl_getUserIdent()362 CloseHandle(hAccessToken); in osl_getUserIdent()586 if ( !hAccessToken ) in osl_loadUserProfile()633 if (hAccessToken && (hAccessToken != ((oslSecurityImpl*)Security)->m_hToken)) in osl_loadUserProfile()634 CloseHandle(hAccessToken); in osl_loadUserProfile()651 if ( !hAccessToken ) in osl_unloadUserProfile()684 if (hAccessToken && (hAccessToken != ((oslSecurityImpl*)Security)->m_hToken)) in osl_unloadUserProfile()686 CloseHandle(hAccessToken); in osl_unloadUserProfile()898 if (hAccessToken == NULL) in getUserNameImpl()[all …]
1683 HANDLE hAccessToken = 0; in IsAdmin() local1689 if ( WIN::OpenProcessToken( WIN::GetCurrentProcess(), TOKEN_READ, &hAccessToken ) ) in IsAdmin()1692 bSuccess = WIN::GetTokenInformation( hAccessToken, TokenGroups, in IsAdmin()1701 bSuccess = WIN::GetTokenInformation( hAccessToken, TokenGroups, in IsAdmin()1706 WIN::CloseHandle( hAccessToken ); in IsAdmin()
Completed in 16 milliseconds