Export (0) Print
Expand All
Expand Minimize

SecPkgContext_Names structure

The SecPkgContext_Names structure indicates the name of the user associated with a security context. The QueryContextAttributes (General) function uses this structure.

Syntax


typedef struct _SecPkgContext_Names {
  SEC_CHAR *sUserName;
} SecPkgContext_Names, *pSecPkgContext_Names;

Members

sUserName

Pointer to a null-terminated string containing the name of the user represented by the context. If the security package has set the SECPKG_FLAG_ACCEPT_WIN32_NAME flag, 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

SecPkgContext_NamesW (Unicode) and SecPkgContext_NamesA (ANSI)

See also

QueryContextAttributes (General)

 

 

Community Additions

ADD
Show:
© 2014 Microsoft