Search Results for

    Show / Hide Table of Contents

    Class WebApiPermission

    Defines a single tenant-wide Web API Permission

    Inheritance
    System.Object
    BaseModel
    WebApiPermission
    Inherited Members
    BaseModel.ParentTemplate
    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

    Extension Methods

    ValidationExtensions.ValidateNotNullOrEmpty<T>(T, String)
    ObjectExtensions.Set<TObject, T>(TObject, Expression<Func<TObject, T>>, T, Boolean, Boolean)
    ObjectExtensions.GetPublicInstancePropertyValue(Object, String)
    ObjectExtensions.GetPublicInstanceProperty(Object, String)
    ObjectExtensions.SetPublicInstancePropertyValue(Object, String, Object)
    Extensions.ToByteArray(Object)
    Back to top PnP Framework
    Generated by DocFX with Material UI
    spacer