共用方式為


SecPkgCredentials_Names

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This structure indicates the name of the user associated with a context. The QueryCredentialsAttributes function uses this structure.

Syntax

typedef struct _SecPkgCredentials_Names {
  SEC_CHAR SEC_FAR* sUserName;
} SecPkgCredentials_Names, SEC_FAR *PSecPkgCredentials_Names;

Members

  • sUserName
    Pointer to a null-terminated string that contains 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, 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

Reference

QueryCredentialsAttributes