Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WS_SECURITY_CONTEXT_PROPERTY_ID enumeration

Identifies a property of a security context object. This enumeration is used with WsGetSecurityContextProperty.

Syntax


enum WS_SECURITY_CONTEXT_PROPERTY_ID {  WS_SECURITY_CONTEXT_PROPERTY_IDENTIFIER, 
  WS_SECURITY_CONTEXT_PROPERTY_USERNAME, 
  WS_SECURITY_CONTEXT_PROPERTY_MESSAGE_SECURITY_WINDOWS_TOKEN, 
  WS_SECURITY_CONTEXT_PROPERTY_SAML_ASSERTION 

};

Constants

WS_SECURITY_CONTEXT_PROPERTY_IDENTIFIER

On the wire, a security context is identified by an absolute URI, which is unique to both sender and recipient. See WS-SecureConversation. This property is a WS_UNIQUE_ID structure that represents that URI.

WS_SECURITY_CONTEXT_PROPERTY_USERNAME

If a WS_USERNAME_MESSAGE_SECURITY_BINDING is used as bootstrap security, this property is a WS_STRING that represents the username that was used during the establishment of the security context.

WS_SECURITY_CONTEXT_PROPERTY_MESSAGE_SECURITY_WINDOWS_TOKEN

If a WS_KERBEROS_APREQ_MESSAGE_SECURITY_BINDING is used as bootstrap security, this property is a HANDLE that represents the token that was used during the establishment of the security context.

WS_SECURITY_CONTEXT_PROPERTY_SAML_ASSERTION

If a WS_SAML_MESSAGE_SECURITY_BINDING is used as bootstrap security, this property is a pointer to a WS_XML_BUFFER that represents the SAML assertion that was used during the establishment of the security context.

Requirements

Minimum supported client

Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 R2 [desktop apps | Windows Store apps]

Header

WebServices.h

 

 

Community Additions

Show:
© 2017 Microsoft