Lines Matching refs:username
114 char username[1024];
115 ULONG sz = sizeof(username);
117 if (GetUserNameEx(NameUserPrincipal, username, &sz)) {
118 return krb5_parse_name_flags(context, username,
124 /* Just get the Windows username. This should pretty much always
127 char username[1024];
128 DWORD dsz = sizeof(username);
130 if (GetUserName(username, &dsz)) {
131 return krb5_make_principal(context, princ, NULL, username, NULL);
137 const char * username = get_env_user();
139 if (username == NULL) {
145 return krb5_make_principal(context, princ, NULL, username, NULL);