Lines Matching refs:userName
39 BOOL getUser(HANDLE tokenHandle, LPTSTR *userName,
78 LPTSTR userName = NULL; // user name
108 (tokenHandle, &userName, &domainName, &userSid, &domainSid) == FALSE) {
128 fid = (*env)->GetFieldID(env, cls, "userName", "Ljava/lang/String;");
131 throwIllegalArgumentException(env, "invalid field: userName");
134 jstr = (*env)->NewStringUTF(env, userName);
241 if (userName != NULL) {
242 HeapFree(GetProcessHeap(), 0, userName);
301 BOOL getUser(HANDLE tokenHandle, LPTSTR *userName,
340 // get userName
351 *userName = (LPTSTR)HeapAlloc(GetProcessHeap(), 0, bufSize);
355 *userName,
370 printf(" [getUser] userName: %s, domainName = %s\n",
371 *userName, *domainName);
729 LPTSTR userName = NULL;
745 (tokenHandle, &userName, &domainName, &userSid, &domainSid) == FALSE) {
764 printf("userName = %s, userSid = %s, domainName = %s, domainSid = %s\n",
765 userName, userSid, domainName, domainSid);
772 if (userName != NULL) {
773 HeapFree(GetProcessHeap(), 0, userName);