Lines Matching defs:AccountName
46 LPTSTR AccountName, /* account of interest */
68 LPTSTR AccountName, /* Name of the account */
114 TCHAR AccountName[256]; /* static account name buffer */
132 wsprintf(AccountName, TEXT("%hS"), name);
133 if (!GetAccountSid(NULL, AccountName, &pSid))
152 wsprintf(AccountName, TEXT("%hS"), Accounts[i]);
154 if (!GetAccountSid(NULL, AccountName, &pSid))
188 wchar_t AccountName[MAX_NAME_LENGTH];
191 mbstowcs(AccountName, name, namelen + 1);
200 ui.usri1_name = (LPWSTR) &AccountName;
223 TCHAR AccountName[256]; /* static account name buffer */
238 wsprintf(AccountName, TEXT("%hS"), name);
239 if (!GetAccountSid(NULL, AccountName, &pSid))
296 GetAccountSid(LPTSTR SystemName, LPTSTR AccountName, PSID *Sid) {
316 while (!LookupAccountName(SystemName, AccountName, *Sid, &cbSid,