Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This structure indicates the name of the user associated with a security context. The QueryContextAttributesfunction uses this structure.

Syntax

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

Members

sUserName

Pointer to a null-terminated string that contains the name of the user represented by the context. If the security package indicates that it understands Microsoft Win32 names (by setting the SECPKG_FLAG_ACCEPT_WIN32_NAME flag), you can use this name in other Win32 calls.

Requirements

Header sspi.h
Windows Embedded CE Windows CE 2.10 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also