UserCreateParameters Constructors

Definition

Overloads

UserCreateParameters()

Initializes a new instance of the UserCreateParameters class.

UserCreateParameters(Boolean, String, PasswordProfile, String, String, IDictionary<String,Object>, String, String, String, String, UserType, String)

Initializes a new instance of the UserCreateParameters class.

UserCreateParameters()

Initializes a new instance of the UserCreateParameters class.

public UserCreateParameters ();
Public Sub New ()

Applies to

UserCreateParameters(Boolean, String, PasswordProfile, String, String, IDictionary<String,Object>, String, String, String, String, UserType, String)

Initializes a new instance of the UserCreateParameters class.

public UserCreateParameters (bool accountEnabled, string displayName, Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.PasswordProfile passwordProfile, string userPrincipalName, string mailNickname, System.Collections.Generic.IDictionary<string,object> additionalProperties = default, string immutableId = default, string usageLocation = default, string givenName = default, string surname = default, Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.UserType userType = default, string mail = default);
new Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.UserCreateParameters : bool * string * Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.PasswordProfile * string * string * System.Collections.Generic.IDictionary<string, obj> * string * string * string * string * Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.UserType * string -> Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.UserCreateParameters
Public Sub New (accountEnabled As Boolean, displayName As String, passwordProfile As PasswordProfile, userPrincipalName As String, mailNickname As String, Optional additionalProperties As IDictionary(Of String, Object) = Nothing, Optional immutableId As String = Nothing, Optional usageLocation As String = Nothing, Optional givenName As String = Nothing, Optional surname As String = Nothing, Optional userType As UserType = Nothing, Optional mail As String = Nothing)

Parameters

accountEnabled
Boolean

Whether the account is enabled.

displayName
String

The display name of the user.

passwordProfile
PasswordProfile

Password Profile

userPrincipalName
String

The user principal name (someuser@contoso.com). It must contain one of the verified domains for the tenant.

mailNickname
String

The mail alias for the user.

additionalProperties
IDictionary<String,Object>

Unmatched properties from the message are deserialized this collection

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
UserType

A string value that can be used to classify user types in your directory, such as 'Member' and 'Guest'. Possible values include: 'Member', 'Guest'

mail
String

The primary email address of the user.

Applies to