Class CreateUserRequest
The create user details.
[DataContract]
public class CreateUserRequest
- Inheritance
-
CreateUserRequest
- Inherited Members
Constructors
CreateUserRequest(string, string, UserRoleType?, Dictionary<string, string>)
Initializes a new instance of the CreateUserRequest class.
public CreateUserRequest(string emailId = null, string teamId = null, UserRoleType? userRole = UserRoleType.Member, Dictionary<string, string> metaData = null)
Parameters
emailId
stringGets or sets the emailId.
teamId
stringGets or sets the teamId(optional).
userRole
UserRoleType?Gets or sets the userRole(optional).
metaData
Dictionary<string, string>
Properties
EmailId
Gets or sets the email.
[Required]
[EmailAddress]
[DataMember(Name = "emailId", EmitDefaultValue = true)]
public string EmailId { get; set; }
Property Value
MetaData
Gets or sets the MetaData value.
[DataMember(Name = "MetaData", EmitDefaultValue = true)]
public Dictionary<string, string> MetaData { get; set; }
Property Value
TeamId
Gets or sets the TeamId.
[DataMember(Name = "teamId", EmitDefaultValue = true)]
public string TeamId { get; set; }
Property Value
UserRole
Gets or sets the UserRole.
[DataMember(Name = "userRole", EmitDefaultValue = true)]
public UserRoleType? UserRole { get; set; }