Searched refs:pSid (Results 1 – 3 of 3) sorted by relevance
/aoo41x/main/sal/qa/osl/security/ |
H A D | osl_Security.cxx | 453 PSID pSid = (PSID) new WIN_BYTE[dwSidBufferSize]; in RegisterAdditionalFunctions() local 454 CPPUNIT_ASSERT_MESSAGE("# creating SID buffer failed.\n", pSid!= NULL ); in RegisterAdditionalFunctions() 455 memset( pSid, 0, dwSidBufferSize); in RegisterAdditionalFunctions() 477 if (IsValidSid( pSid) == FALSE) in RegisterAdditionalFunctions() 490 FreeSid( pSid); in RegisterAdditionalFunctions() 491 pSid = (PSID) new WIN_BYTE[cbSid]; in RegisterAdditionalFunctions() 493 memset( pSid, 0, cbSid); in RegisterAdditionalFunctions() 523 psia=GetSidIdentifierAuthority(pSid); in RegisterAdditionalFunctions() 526 dwSubAuthorities=*GetSidSubAuthorityCount(pSid)<=5?*GetSidSubAuthorityCount(pSid):5; in RegisterAdditionalFunctions() 560 *GetSidSubAuthority(pSid, dwCounter) ); in RegisterAdditionalFunctions() [all …]
|
/aoo41x/main/desktop/win32/source/officeloader/ |
H A D | officeloader.cxx | 57 BOOL WINAPI ConvertSidToStringSid( PSID pSid, LPTSTR* StringSid ) in ConvertSidToStringSid() argument 67 if(!IsValidSid(pSid)) return FALSE; in ConvertSidToStringSid() 71 psia = GetSidIdentifierAuthority(pSid); in ConvertSidToStringSid() 75 dwSubAuthorities = *GetSidSubAuthorityCount(pSid); in ConvertSidToStringSid() 116 *GetSidSubAuthority(pSid, dwCounter) ); in ConvertSidToStringSid() 249 PSID pSid = ((PTOKEN_USER)pTokenInfo)->User.Sid; in WinMain() local 253 fSuccess = ConvertSidToStringSid( pSid, &szUserIdent ); in WinMain()
|
/aoo41x/main/sal/osl/w32/ |
H A D | security.c | 366 PSID pSid = ((PTOKEN_USER)pInfoBuffer)->User.Sid; in osl_getUserIdent() local 374 psia=GetSidIdentifierAuthority(pSid); in osl_getUserIdent() 377 dwSubAuthorities=min(*GetSidSubAuthorityCount(pSid), 5); in osl_getUserIdent() 411 *GetSidSubAuthority(pSid, dwCounter) ); in osl_getUserIdent()
|
Completed in 27 milliseconds