This documentation is archived and is not being maintained.

SamlAction Class

Represents the <saml:Action> element within a SAML assertion that contains an action on a specified resource.

Namespace:  System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public class SamlAction

The SamlAction class corresponds the <saml:Action> XML element which is defined in the OASIS SAML v1.1 specification.

Use the SamlAction class when specifying a claim about the ability of a subject SamlAuthorizationDecisionStatement to perform a specified action on a specified resource. Use the SamlAction class to specify the desired action and the SamlAccessDecision class to specify the access decision. The Action property represents that action and the Namespace property specifies the XML namespace in which the action is defined.

SamlAction position in the SAML object hierarchy is:






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

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0