Class UpdateUser
The update user details.
public class UpdateUser
- Inheritance
-
UpdateUser
- Inherited Members
Constructors
UpdateUser(string, UserRoleType, UserStatusOption, string)
Initializes a new instance of the UpdateUser class.
public UpdateUser(string userId, UserRoleType userRole = UserRoleType.Member, UserStatusOption userStatus = (UserStatusOption)0, string toUserId = null)
Parameters
userId
stringGets or sets userId.
userRole
UserRoleTypeGets or sets userRole.
userStatus
UserStatusOptionGets or sets userStatus.
toUserId
stringGets or sets toUserId.
Properties
ToUserId
Gets or sets the toUserId.
[DataMember(Name = "toUserId", EmitDefaultValue = false)]
public string ToUserId { get; set; }
Property Value
UserId
Gets or sets the userId.
[Required]
[DataMember(Name = "userId", EmitDefaultValue = false)]
public string UserId { get; set; }
Property Value
UserRole
Gets or sets the UserRole.
[DataMember(Name = "userRole", EmitDefaultValue = true)]
public UserRoleType UserRole { get; set; }
Property Value
UserStatus
Gets or sets the UserStatus.
[DataMember(Name = "userStatus", EmitDefaultValue = false)]
public UserStatusOption UserStatus { get; set; }