Available for: Content Management Server
Task: Sets the specified parameters to the corresponding values
for the user with the login
login.
Additional information:
owner
parameter is explicitly set to the empty
string, the logged-in user will be inserted as owner
.Syntax:
user withLogin login set {paramName value}
Function parameters:
paramName
specifies the name of the user
parameter whose value is to be set (see
The user parameters).value
is the value to be set for the specified
parameter.Return value if successful: none
Necessary permissions:
permissionGlobalUserEdit
permission and be the direct or indirect owner
of the
login
user.permissionGlobalUserEdit
permission, he can only modify the values
of his user fields and his own defaultGroup
, email
,
password
, and realName
parameters. As a new
defaultGroup
he can only specify a group he is a member of.Example:
CM>user withLogin jane set userLocked 0