Modulus Financial Engineering HomeModulus Financial Engineering
RMD Server™

Connection.AddUserAccount Method

 

Adds a user account to the authentication database (requires ptSuperAdmin privileges). After adding a new user account, call EditUserAccount to set symbol group permissions.

 

Return Type

    BOOL

 

Syntax

 AddUserAccount (BSTR Username, BSTR Password, DateTimeInfo AccountExpiration, PermissionType Permissions)

 

Parameters

Username and Password must be between 4 and 50 characters long without special characters (!@#$%^&*_+./';][{}":?><) 
AccountExpiration is the expiration date of the account (ptAdmin and ptSuperAdmin accounts do not expire).
Permissions is the permission type of the account (Read Only, Read Write, Admin, Super Admin).

 

Remarks
This method requires ptSuperAdmin. This action can also be performed using the Admin Utility.

 

See Also

    DateTimeInfo, PermissionType, Connection Object, EditUserAccount, RemoveUserAccount