Class User
Defines an AAD User
Inherited Members
Namespace: PnP.Framework.Provisioning.Model.AzureActiveDirectory
Assembly: PnP.Framework.dll
Syntax
public class User : BaseModel, IProvisioningTemplateDescendant
Constructors
User()
Declaration
public User()
Properties
AccountEnabled
Declares whether the user's account is enabled or not
Declaration
public bool AccountEnabled { get; set; }
Property Value
System.Boolean
|
DisplayName
The Display Name of the user
Declaration
public string DisplayName { get; set; }
Property Value
System.String
|
GivenName
The Given Name for the user
Declaration
public string GivenName { get; set; }
Property Value
System.String
|
JobTitle
The Job Title for the user
Declaration
public string JobTitle { get; set; }
Property Value
System.String
|
Licenses
Collection of user's licenses
Declaration
public UserLicenseCollection Licenses { get; }
Property Value
UserLicenseCollection
|
MailNickname
The Mail Nickname of the user
Declaration
public string MailNickname { get; set; }
Property Value
System.String
|
MobilePhone
The Mobile Phone for the user
Declaration
public string MobilePhone { get; set; }
Property Value
System.String
|
OfficeLocation
The Office Location for the user
Declaration
public string OfficeLocation { get; set; }
Property Value
System.String
|
PasswordPolicies
The Password Policies for the user
Declaration
public string PasswordPolicies { get; set; }
Property Value
System.String
|
PasswordProfile
The Password Profile for the user
Declaration
public PasswordProfile PasswordProfile { get; set; }
Property Value
PasswordProfile
|
PreferredLanguage
The Preferred Language for the user
Declaration
public string PreferredLanguage { get; set; }
Property Value
System.String
|
ProfilePhoto
The Profile Photo for the user
Declaration
public string ProfilePhoto { get; set; }
Property Value
System.String
|
Surname
The Surname for the user
Declaration
public string Surname { get; set; }
Property Value
System.String
|
UsageLocation
The Mobile Phone for the user
Declaration
public string UsageLocation { get; set; }
Property Value
System.String
|
UserPrincipalName
The UPN for the user
Declaration
public string UserPrincipalName { get; set; }
Property Value
System.String
|
Methods
Equals(User)
Compares User object based on PasswordProfile, AccountEnabled, DisplayName, MailNickname, PasswordPolicies, UserPrincipalName, ProfilePhoto, and Licenses
Declaration
public bool Equals(User other)
Parameters
User
other
User Class object |
Returns
System.Boolean
true if the User object is equal to the current object; otherwise, false. |
Equals(Object)
Compares object with User class
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
Object that represents User |
Returns
System.Boolean
Checks whether object is User class |
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
System.Int32
Returns HashCode |