Home
last modified time | relevance | path

Searched refs:hAccessToken (Results 1 – 2 of 2) sorted by relevance

/trunk/main/sal/osl/w32/
H A Dsecurity.c338 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 …]
/trunk/main/desktop/win32/source/setup/
H A Dsetup.cpp1683 HANDLE hAccessToken = 0; in IsAdmin() local
1689 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