ClaimsPrincipalPermissionAttribute.Operation Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.