編輯

共用方式為


EvaluationContext.ClaimSets Property

Definition

Gets a read-only collection of ClaimSet objects that contains the claims added by authorization policies that have been evaluated.

public:
 abstract property System::Collections::ObjectModel::ReadOnlyCollection<System::IdentityModel::Claims::ClaimSet ^> ^ ClaimSets { System::Collections::ObjectModel::ReadOnlyCollection<System::IdentityModel::Claims::ClaimSet ^> ^ get(); };
public abstract System.Collections.ObjectModel.ReadOnlyCollection<System.IdentityModel.Claims.ClaimSet> ClaimSets { get; }
member this.ClaimSets : System.Collections.ObjectModel.ReadOnlyCollection<System.IdentityModel.Claims.ClaimSet>
Public MustOverride ReadOnly Property ClaimSets As ReadOnlyCollection(Of ClaimSet)

Property Value

A ReadOnlyCollection<T> objects that contains the claims added by authorization policies that have been evaluated.

Remarks

To add claims to this collection, for example from an authorization policy, use the AddClaimSet method.

Applies to