Searched refs:hImpersonationToken (Results 1 – 2 of 2) sorted by relevance
54 HANDLE hImpersonationToken = NULL; in IsReadonlyAccordingACL() local55 if ( DuplicateToken( hToken, SecurityImpersonation, &hImpersonationToken) ) in IsReadonlyAccordingACL()67 hImpersonationToken, in IsReadonlyAccordingACL()78 CloseHandle( hImpersonationToken ); in IsReadonlyAccordingACL()
256 HANDLE hImpersonationToken = NULL; in osl_isAdministrator() local269 …licateToken (((oslSecurityImpl*)Security)->m_hToken, SecurityImpersonation, &hImpersonationToken) ) in osl_isAdministrator()288 …if ( CheckTokenMembership_Stub( hImpersonationToken, psidAdministrators, &fSuccess ) && fSuccess ) in osl_isAdministrator()294 if ( hImpersonationToken ) in osl_isAdministrator()295 CloseHandle( hImpersonationToken ); in osl_isAdministrator()
Completed in 11 milliseconds