Condividi tramite


SecurityContextToken.AnyAttributes Property

Gets a collection of XML attributes.

Namespace: Microsoft.Web.Services3.Security.Tokens
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim securityContextToken1 As SecurityContextToken

Dim returnValue As AttributeList
returnValue = securityContextToken1.AnyAttributes

Syntax

'Declaration
Public ReadOnly Property AnyAttributes() As AttributeList
public AttributeList AnyAttributes {get;}
public:
property AttributeList^ AnyAttributes {
    AttributeList^ get();
}
public AttributeList get_AnyAttributes();
public function get AnyAttributes() : AttributeList;

Property Value

An IList containing the collection of XML attributes.

Remarks

Use the AnyAttributes and AnyElements properties to extend the functionality of a SecurityContextToken security token. A custom security token service that issues SecurityContextToken security tokens can add an XmlAttribute to the AnyAttributes collection that WSE will serialize into the issued security token. The target Web service can view the custom attributes added by the security token service by getting the value of the AnyAttributes property.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

SecurityContextToken Class
SecurityContextToken Members
Microsoft.Web.Services3.Security.Tokens Namespace