/reactos/win32ss/user/ntuser/ |
H A D | security.c | 195 TokenUser, in IntQueryUserSecurityIdentification() 224 TokenUser, in IntQueryUserSecurityIdentification() 336 PTOKEN_USER TokenUser; in IntCreateServiceSecurity() local 340 TokenUser = NULL; in IntCreateServiceSecurity() 345 Status = IntQueryUserSecurityIdentification(&TokenUser); in IntCreateServiceSecurity() 346 if (!TokenUser) in IntCreateServiceSecurity() 389 sizeof(ACCESS_ALLOWED_ACE) + RtlLengthSid(TokenUser->User.Sid) + in IntCreateServiceSecurity() 422 TokenUser->User.Sid); in IntCreateServiceSecurity() 439 TokenUser->User.Sid); in IntCreateServiceSecurity() 549 if (TokenUser) in IntCreateServiceSecurity() [all …]
|
/reactos/dll/win32/userenv/ |
H A D | sid.c | 52 TokenUser, in GetUserSid() 67 TokenUser, in GetUserSid() 115 TokenUser, in GetUserSidStringFromToken() 132 TokenUser, in GetUserSidStringFromToken()
|
/reactos/base/services/rpcss/ |
H A D | setup.c | 68 if (GetTokenInformation(hToken, TokenUser, NULL, 0, &cbTokenBuffer) || in RunningAsSYSTEM() 78 if (GetTokenInformation(hToken, TokenUser, pTokenUser, cbTokenBuffer, &cbTokenBuffer)) in RunningAsSYSTEM()
|
/reactos/media/doc/ |
H A D | news2 | 17 > ZwQueryInformationToken( ..TokenUser ...) doesn't seem to want to do its 37 ntstatus = ZwQueryInformationToken(handle, TokenUser, user, bufLen,
|
/reactos/base/services/svchost/ |
H A D | security.cxx | 56 if ((GetTokenInformation(hToken, TokenUser, NULL, 0, &dwUserLength) != FALSE) || in DwInitializeSdFromThreadToken() 92 TokenUser, in DwInitializeSdFromThreadToken()
|
/reactos/dll/win32/authz/ |
H A D | resman.c | 47 TokenUser, in AuthzpQueryToken() 76 TokenUser, in AuthzpQueryToken()
|
/reactos/modules/rostests/apitests/userenv/ |
H A D | LoadUserProfile.c | 73 TokenUser, in GetUserSid() 88 TokenUser, in GetUserSid()
|
/reactos/modules/rostests/apitests/ntdll/ |
H A D | NtQueryInformationToken.c | 45 TokenUser, in QueryTokenUserTests() 61 TokenUser, in QueryTokenUserTests() 794 TokenUser, in START_TEST() 802 TokenUser, in START_TEST()
|
/reactos/modules/rostests/winetests/advapi32/ |
H A D | lsa.c | 178 … ret = GetTokenInformation( token, TokenUser, (LPVOID) token_user, sizeof(buffer), &len ); in test_lsa() 184 ret = GetTokenInformation( token, TokenUser, (LPVOID) token_user, len, &len ); in test_lsa() 359 ret = GetTokenInformation(token, TokenUser, NULL, 0, &size); in test_LsaLookupSids() 363 ret = GetTokenInformation(token, TokenUser, user, size, &size); in test_LsaLookupSids()
|
H A D | security.c | 1877 ret = GetTokenInformation(Token, TokenUser, NULL, 0, &Size); in test_token_attr() 1881 ret = GetTokenInformation(Token, TokenUser, User, Size, &Size); in test_token_attr() 2355 ret = GetTokenInformation(hToken, TokenUser, NULL, 0, &cbti); in test_LookupAccountSid() 2358 if (GetTokenInformation(hToken, TokenUser, ptiUser, cbti, &cbti)) in test_LookupAccountSid() 2979 res = GetTokenInformation( token, TokenUser, NULL, 0, &size ); in test_process_security() 2985 res = GetTokenInformation( token, TokenUser, user, size, &size ); in test_process_security() 3224 ret = GetTokenInformation(Token, TokenUser, NULL, 0, &Size); in test_impersonation_level() 3228 ret = GetTokenInformation(Token, TokenUser, User, Size, &Size); in test_impersonation_level() 3656 bret = GetTokenInformation(token, TokenUser, NULL, 0, &user_size); in test_CreateDirectoryA() 4914 bret = GetTokenInformation(token, TokenUser, b, l, &l); in test_GetSecurityInfo() [all …]
|
/reactos/modules/rostests/tests/tokentest/ |
H A D | tokentest.c | 104 IN PTOKEN_USER TokenUser, 302 TOKEN_USER* pTokenUser = (PTOKEN_USER) GetFromToken(hTokenSource, TokenUser); in DisplayToken()
|
/reactos/sdk/include/ndk/ |
H A D | sefuncs.h | 209 _In_ PTOKEN_USER TokenUser, 394 _In_ PTOKEN_USER TokenUser,
|
H A D | ifssupp.h | 225 TokenUser = 1, enumerator
|
/reactos/dll/win32/msctf/ |
H A D | utils.cpp | 104 GetTokenInformation(hToken, TokenUser, NULL, 0, &dwLengthNeeded); in GetUserSIDString() 113 if (!GetTokenInformation(hToken, TokenUser, pTokenUser, dwLengthNeeded, &dwLengthNeeded) || in GetUserSIDString()
|
/reactos/base/applications/cmdutils/eventcreate/ |
H A D | eventcreate.c | 139 if (!GetTokenInformation(hToken, TokenUser, NULL, 0, &cbTokenBuffer)) in GetUserToken() 153 if (!GetTokenInformation(hToken, TokenUser, pUserToken, cbTokenBuffer, &cbTokenBuffer)) in GetUserToken()
|
/reactos/subsystems/csr/csrsrv/ |
H A D | init.c | 81 Status = NtQueryInformationToken(hToken, TokenUser, NULL, 0, &Length); in CsrSetProcessSecurity() 98 Status = NtQueryInformationToken(hToken, TokenUser, TokenInfo, Length, &Length); in CsrSetProcessSecurity()
|
/reactos/dll/cpl/sysdm/ |
H A D | userprofile.c | 666 if (GetTokenInformation(hToken, TokenUser, NULL, 0, &dwSize) || in AddUserProfiles() 676 if (!GetTokenInformation(hToken, TokenUser, pTokenUser, dwSize, &dwSize)) in AddUserProfiles()
|
/reactos/dll/win32/lsasrv/ |
H A D | authpackage.c | 1589 TOKEN_USER TokenUser; in LsapLogonUser() local 1596 TokenUser.User.Sid = LsapWorldSid; in LsapLogonUser() 1597 TokenUser.User.Attributes = 0; in LsapLogonUser() 1619 &TokenUser, in LsapLogonUser()
|
/reactos/dll/win32/shell32/shellrecyclebin/ |
H A D | recyclebin_v5.cpp | 739 if (GetTokenInformation(tokenHandle, TokenUser, NULL, 0, &Needed)) in Init() 755 if (!GetTokenInformation(tokenHandle, TokenUser, TokenUserInfo, (DWORD)Needed, &Needed)) in Init()
|
/reactos/ntoskrnl/se/ |
H A D | tokenlif.c | 1565 _In_ PTOKEN_USER TokenUser, in NtCreateToken() argument 1616 ProbeForRead(TokenUser, in NtCreateToken() 1699 Status = SeCaptureSidAndAttributesArray(&TokenUser->User, in NtCreateToken()
|
H A D | tokencls.c | 116 case TokenUser: 524 case TokenUser: in NtQueryInformationToken()
|
/reactos/modules/rostests/kmtests/ntos_se/ |
H A D | SeQueryInfoToken.c | 198 Status = SeQueryInformationToken(Token, TokenUser, &Buffer); in TestsSeQueryInformationToken()
|
/reactos/base/shell/progman/ |
H A D | main.c | 203 if (!GetTokenInformation(hToken, TokenUser, NULL, 0, &cbTokenBuffer)) in GetUserAndDomainName() 219 if (!GetTokenInformation(hToken, TokenUser, pUserToken, cbTokenBuffer, &cbTokenBuffer)) in GetUserAndDomainName()
|
/reactos/dll/win32/advapi32/sec/ |
H A D | misc.c | 330 if (!GetTokenInformation(hToken, TokenUser, tu_buf, 36, &tu_len) || tu_len > 36) in GetUserNameW() 341 if (!GetTokenInformation(hToken, TokenUser, tu_buf, tu_len, &tu_len)) in GetUserNameW()
|
/reactos/ntoskrnl/lpc/ |
H A D | connect.c | 291 Status = SeQueryInformationToken(Token, TokenUser, (PVOID*)&TokenUserInfo); in NtSecureConnectPort()
|