Home
last modified time | relevance | path

Searched refs:TokenUser (Results 1 – 25 of 39) sorted by relevance

12

/reactos/win32ss/user/ntuser/
H A Dsecurity.c195 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 Dsid.c52 TokenUser, in GetUserSid()
67 TokenUser, in GetUserSid()
115 TokenUser, in GetUserSidStringFromToken()
132 TokenUser, in GetUserSidStringFromToken()
/reactos/base/services/rpcss/
H A Dsetup.c68 if (GetTokenInformation(hToken, TokenUser, NULL, 0, &cbTokenBuffer) || in RunningAsSYSTEM()
78 if (GetTokenInformation(hToken, TokenUser, pTokenUser, cbTokenBuffer, &cbTokenBuffer)) in RunningAsSYSTEM()
/reactos/media/doc/
H A Dnews217 > ZwQueryInformationToken( ..TokenUser ...) doesn't seem to want to do its
37 ntstatus = ZwQueryInformationToken(handle, TokenUser, user, bufLen,
/reactos/base/services/svchost/
H A Dsecurity.cxx56 if ((GetTokenInformation(hToken, TokenUser, NULL, 0, &dwUserLength) != FALSE) || in DwInitializeSdFromThreadToken()
92 TokenUser, in DwInitializeSdFromThreadToken()
/reactos/dll/win32/authz/
H A Dresman.c47 TokenUser, in AuthzpQueryToken()
76 TokenUser, in AuthzpQueryToken()
/reactos/modules/rostests/apitests/userenv/
H A DLoadUserProfile.c73 TokenUser, in GetUserSid()
88 TokenUser, in GetUserSid()
/reactos/modules/rostests/apitests/ntdll/
H A DNtQueryInformationToken.c45 TokenUser, in QueryTokenUserTests()
61 TokenUser, in QueryTokenUserTests()
794 TokenUser, in START_TEST()
802 TokenUser, in START_TEST()
/reactos/modules/rostests/winetests/advapi32/
H A Dlsa.c178 … 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 Dsecurity.c1877 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 Dtokentest.c104 IN PTOKEN_USER TokenUser,
302 TOKEN_USER* pTokenUser = (PTOKEN_USER) GetFromToken(hTokenSource, TokenUser); in DisplayToken()
/reactos/sdk/include/ndk/
H A Dsefuncs.h209 _In_ PTOKEN_USER TokenUser,
394 _In_ PTOKEN_USER TokenUser,
H A Difssupp.h225 TokenUser = 1, enumerator
/reactos/dll/win32/msctf/
H A Dutils.cpp104 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 Deventcreate.c139 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 Dinit.c81 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 Duserprofile.c666 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 Dauthpackage.c1589 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 Drecyclebin_v5.cpp739 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 Dtokenlif.c1565 _In_ PTOKEN_USER TokenUser, in NtCreateToken() argument
1616 ProbeForRead(TokenUser, in NtCreateToken()
1699 Status = SeCaptureSidAndAttributesArray(&TokenUser->User, in NtCreateToken()
H A Dtokencls.c116 case TokenUser:
524 case TokenUser: in NtQueryInformationToken()
/reactos/modules/rostests/kmtests/ntos_se/
H A DSeQueryInfoToken.c198 Status = SeQueryInformationToken(Token, TokenUser, &Buffer); in TestsSeQueryInformationToken()
/reactos/base/shell/progman/
H A Dmain.c203 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 Dmisc.c330 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 Dconnect.c291 Status = SeQueryInformationToken(Token, TokenUser, (PVOID*)&TokenUserInfo); in NtSecureConnectPort()

12