Platform SDK: Logon Authentication

SecPkgCredentials_Names

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

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 Win32 names, this name can be used in other Win32 calls.

Requirements

  Windows NT/2000: Requires Windows NT 3.51 or later.
  Windows 95/98: Requires Windows 95 or later.
  Header: Declared in Sspi.h; include Security.h.
  Unicode: Declared as Unicode and ANSI structures.

See Also

QueryCredentialsAttributes