Search Results for

    Show / Hide Table of Contents

    Class UserLicense

    Defines an AAD User

    Inheritance
    System.Object
    BaseModel
    UserLicense
    Inherited Members
    BaseModel.ParentTemplate
    Namespace: PnP.Framework.Provisioning.Model.AzureActiveDirectory
    Assembly: PnP.Framework.dll
    Syntax
    public class UserLicense : BaseModel, IProvisioningTemplateDescendant

    Properties

    DisabledPlans

    List of disabled plans

    Declaration
    public string[] DisabledPlans { get; set; }
    Property Value
    System.String[]

    SkuId

    Defines the SKU of the license

    Declaration
    public string SkuId { get; set; }
    Property Value
    System.String

    Methods

    Equals(UserLicense)

    Compares UserLicense object based on SkuId and Disabled Plans

    Declaration
    public bool Equals(UserLicense other)
    Parameters
    UserLicense other

    UserLicense Class object

    Returns
    System.Boolean

    true if the UserLicense object is equal to the current object; otherwise, false.

    Equals(Object)

    Compares object with UserLicense class

    Declaration
    public override bool Equals(object obj)
    Parameters
    System.Object obj

    Object that represents UserLicense

    Returns
    System.Boolean

    Checks whether object is UserLicense class

    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