SecPkgContext_Names

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

typedef struct _SecPkgContext_Names {
      SEC_CHAR *  sUserName;
} SecPkgContext_Names, * 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 Win32 names (by setting the SECPKG_FLAG_ACCEPT_WIN32_NAME flag), you can use this name in other Win32 calls.

See Also

QueryContextAttributes