Skip to content

Edit User

Edits a user.

Permissions

Command KindNeeded User Kind
SystemAdmin, Sys

Parameters

NameTypeDescriptionRequiredDefaultValues
UserstringName of the user ([User]).yes
ActivebooleanIf 'True' the user is active. Otherwise the user is not able to logon. The default value is 'True'.notrue
AdminbooleanIf 'True' the user has admin permissions. An admin user has also automatic 'Designer' permissions. The default value is 'False'.nofalse
DesignerbooleanIf 'True' the user has designer permissions, i.e. is able to design reports, but has no special database permissions. The default value is 'False'.nofalse
DomainstringIf the domain is not empty the password at logon is checked with the domain. In that case a password in the database is not needed. The server must have access to the domain and the username must be the same as the domain username.no
ImportbooleanIf 'True' the user has the permission to import data ('Import Dimension', 'Import Table'...), independent of database permissions. The default value is 'False'.nofalse
IndividualLogbooleanIf 'True' an individual log file is created for the user. The default value is 'False'. The file name contains the database name, username and the date: Data_<Database>@<User>_YYYY_MM_DD.log.nofalse
RolestringName of the role. The permissions of the user and of the role are merged and the highest permission is used.no
WorksheetstringName/path of the start worksheet after logon.no

Result

NameTypeDescription
UserstringName of the user.
ActivebooleanIf 'True' the user is active and can connect. It can be set with the command 'Edit User'.
AdminbooleanIf 'True' the user has admin permissions.
DesignerbooleanIf 'True' the user has designer permissions.
ImportbooleanIf 'True' the user has import permissions.
FixedbooleanIf 'True' the user cannot be changed ('Sys' or 'SysTech').
DomainstringDomain of the user.
RolestringRole of the user.
IndividualLogbooleanIf 'True' the user has an individual log file. The file name contains the database name, username and the date: Data_<Database>@<User>_YYYY_MM_DD.log.
WorksheetstringStart worksheet of the user.

Code

text
EDIT USER
USER=[string, Needed]
ACTIVE=[boolean, default=true]
ADMIN=[boolean, default=false]
DESIGNER=[boolean, default=false]
DOMAIN=[string]
IMPORT=[boolean, default=false]
INDIVIDUALLOG=[boolean, default=false]
ROLE=[string]
WORKSHEET=[string]