User Constructors
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.
Overloads
User() |
Initializes a new instance of the User class. |
User(IDictionary<String,Object>, String, Nullable<DateTime>, String, String, String, String, String, Nullable<Boolean>, String, String, String, String, IList<SignInName>) |
Initializes a new instance of the User class. |
User()
Initializes a new instance of the User class.
public User ();
Public Sub New ()
Applies to
User(IDictionary<String,Object>, String, Nullable<DateTime>, String, String, String, String, String, Nullable<Boolean>, String, String, String, String, IList<SignInName>)
Initializes a new instance of the User class.
public User (System.Collections.Generic.IDictionary<string,object> additionalProperties = default, string objectId = default, DateTime? deletionTimestamp = default, string immutableId = default, string usageLocation = default, string givenName = default, string surname = default, string userType = default, bool? accountEnabled = default, string displayName = default, string userPrincipalName = default, string mailNickname = default, string mail = default, System.Collections.Generic.IList<Microsoft.Azure.Graph.RBAC.Models.SignInName> signInNames = default);
new Microsoft.Azure.Graph.RBAC.Models.User : System.Collections.Generic.IDictionary<string, obj> * string * Nullable<DateTime> * string * string * string * string * string * Nullable<bool> * string * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.Graph.RBAC.Models.SignInName> -> Microsoft.Azure.Graph.RBAC.Models.User
Public Sub New (Optional additionalProperties As IDictionary(Of String, Object) = Nothing, Optional objectId As String = Nothing, Optional deletionTimestamp As Nullable(Of DateTime) = Nothing, Optional immutableId As String = Nothing, Optional usageLocation As String = Nothing, Optional givenName As String = Nothing, Optional surname As String = Nothing, Optional userType As String = Nothing, Optional accountEnabled As Nullable(Of Boolean) = Nothing, Optional displayName As String = Nothing, Optional userPrincipalName As String = Nothing, Optional mailNickname As String = Nothing, Optional mail As String = Nothing, Optional signInNames As IList(Of SignInName) = Nothing)
Parameters
- additionalProperties
- IDictionary<String,Object>
Unmatched properties from the message are deserialized this collection
- objectId
- String
The object ID.
- immutableId
- String
This must be specified if you are using a federated domain for the user's userPrincipalName (UPN) property when creating a new user account. It is used to associate an on-premises Active Directory user account with their Azure AD user object.
- usageLocation
- String
A two letter country code (ISO standard 3166). Required for users that will be assigned licenses due to legal requirement to check for availability of services in countries. Examples include: "US", "JP", and "GB".
- givenName
- String
The given name for the user.
- surname
- String
The user's surname (family name or last name).
- userType
- String
A string value that can be used to classify user types in your directory, such as 'Member' and 'Guest'. Possible values include: 'Member', 'Guest'
- displayName
- String
The display name of the user.
- userPrincipalName
- String
The principal name of the user.
- mailNickname
- String
The mail alias for the user.
- String
The primary email address of the user.
- signInNames
- IList<SignInName>
The sign-in names of the user.