SecPkgCredentials_Names
TOC
Collapse the table of content
Expand the table of content

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

 

 

Show:
© 2016 Microsoft