Delen via


UserCreateParameters Class

Definition

Request parameters for creating a new work or school account user.

public class UserCreateParameters : Microsoft.Azure.Graph.RBAC.Models.UserBase
type UserCreateParameters = class
    inherit UserBase
Public Class UserCreateParameters
Inherits UserBase
Inheritance
UserCreateParameters

Constructors

UserCreateParameters()

Initializes a new instance of the UserCreateParameters class.

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

Initializes a new instance of the UserCreateParameters class.

Properties

AccountEnabled

Gets or sets whether the account is enabled.

AdditionalProperties

Gets or sets unmatched properties from the message are deserialized this collection

(Inherited from UserBase)
DisplayName

Gets or sets the display name of the user.

GivenName

Gets or sets the given name for the user.

(Inherited from UserBase)
ImmutableId

Gets or sets 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.

(Inherited from UserBase)
Mail

Gets or sets the primary email address of the user.

MailNickname

Gets or sets the mail alias for the user.

PasswordProfile

Gets or sets password Profile

Surname

Gets or sets the user's surname (family name or last name).

(Inherited from UserBase)
UsageLocation

Gets or sets 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".

(Inherited from UserBase)
UserPrincipalName

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

UserType

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

(Inherited from UserBase)

Methods

Validate()

Validate the object.

Applies to