Edit

Bagikan melalui


AuthorizationContext.Resource Property

Definition

Gets the resource on which the principal is to be authorized.

public:
 property System::Collections::ObjectModel::Collection<System::Security::Claims::Claim ^> ^ Resource { System::Collections::ObjectModel::Collection<System::Security::Claims::Claim ^> ^ get(); };
public System.Collections.ObjectModel.Collection<System.Security.Claims.Claim> Resource { get; }
member this.Resource : System.Collections.ObjectModel.Collection<System.Security.Claims.Claim>
Public ReadOnly Property Resource As Collection(Of Claim)

Property Value

A collection of claims that represents the resource.

Remarks

The collection typically contains a single element.

Applies to