Muokkaa

Jaa


ClaimsPrincipalPermissionAttribute.Operation Property

Definition

Gets or sets the operation for which the current principal should be authorized on the specified resource.

public:
 property System::String ^ Operation { System::String ^ get(); void set(System::String ^ value); };
public string Operation { get; set; }
member this.Operation : string with get, set
Public Property Operation As String

Property Value

The action for which the current principal should be authorized.

Remarks

The operation is the action for which the current principal should be authorized on the specified resource. You must set the Operation property in your ClaimsPrincipalPermissionAttribute declaration or an exception will be thrown when the CreatePermission method is called to create the permission.

Applies to