Class WebApiPermission
Defines a single tenant-wide Web API Permission
Inherited Members
Namespace: PnP.Framework.Provisioning.Model
Assembly: PnP.Framework.dll
Syntax
public class WebApiPermission : BaseModel, IProvisioningTemplateDescendant
Properties
Resource
Gets or sets the target Resource of the Web API permission
Declaration
public string Resource { get; set; }
Property Value
System.String
|
Scope
Gets or sets the Scope of the Web API permission
Declaration
public string Scope { get; set; }
Property Value
System.String
|
Methods
Equals(WebApiPermission)
Compares WebApiPermission object based on Scope, Resource and Action.
Declaration
public bool Equals(WebApiPermission other)
Parameters
WebApiPermission
other
WebApiPermission object |
Returns
System.Boolean
true if the WebApiPermission object is equal to the current object; otherwise, false. |
Equals(Object)
Compares object with WebApiPermission
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
Object that represents WebApiPermission |
Returns
System.Boolean
true if the current object is equal to the WebApiPermission |
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
System.Int32
Returns HashCode |