Click or drag to resize
Client.UserAdd Method (String, String, String, String, Client.UserPermission, String, Boolean, String)
Adds a new user with the provided attributes.

Namespace: MOVEit.DMZ.API
Assembly: MOVEit.DMZ.API (in MOVEit.DMZ.API.dll) Version: 9.0.0.0
Syntax
public bool UserAdd(
	string Username,
	string Password,
	string RealName,
	string Email,
	Client. UserPermission Permission,
	string Notes,
	bool ForceChangePassword,
	string OrgID
)

Parameters

Username
Type: System.String
Username of the new user.
Password
Type: System.String
Password of the new user.
RealName
Type: System.String
Display name of the new user.
Email
Type: System.String
Email address of the new user.
Permission
Type: MOVEit.DMZ.API.Client.UserPermission
Permission code of the new user.
Notes
Type: System.String
Any notes to be added with the new user.
ForceChangePassword
Type: System.Boolean
When true, the user will be required to change their password on their first login.
OrgID
Type: System.String
ID of the organization to add the user to.

Return Value

Type: Boolean
true if successful; otherwise, false.
Remarks
The OrgID field is only used if the currently authenticated user is a SysAdmin.
See Also