Export (0) Print
Expand All
Expand Minimize

SecPkgCredentials_Names structure

The SecPkgCredentials_Names structure holds the name of the user associated with a context. The QueryCredentialsAttributes function uses this structure.

Syntax


typedef struct _SecPkgCredentials_Names {
  SEC_CHAR *sUserName;
} SecPkgCredentials_Names, *PSecPkgCredentials_Names;

Members

sUserName

Pointer to a null-terminated string containing the name of the user represented by the credential. If the security package sets the SECPKG_FLAG_ACCEPT_WIN32_NAME flag to indicate that it can process Windows names, this name can be used in other Windows calls.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Sspi.h (include Security.h)

Unicode and ANSI names

SecPkgCredentials_NamesW (Unicode) and SecPkgCredentials_NamesA (ANSI)

See also

QueryCredentialsAttributes

 

 

Community Additions

ADD
Show:
© 2014 Microsoft