Modulus Financial Engineering HomeModulus Financial Engineering
RMD Server™

Connection.EditUserAccount Method

 

Edits an existing user account in the authentication database (requires ptSuperAdmin privileges).

 

Return Type

    BOOL

 

Syntax

 EditUserAccount (BSTR Username, BSTR Password, DateTimeInfo AccountExpiration, PermissionType Permissions, BSTR NewPassword, BSTR Groups)

 

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).
NewPassword should be the same as Password unless you are changing the password.
Groups is a comma separated list of allowed symbol groups for this user account, e.g. "NYSE,NASDAQ,CBOT".
For more information about Symbol Groups, see AddSymbol.

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

 

See Also

    DateTimeInfo, PermissionType, Connection Object, AddSymbol, AddUserAccount, RemoveUserAccount