Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | admUpdateUsername(userName, newName) | Package | | Alias | | Pkg Usage | |
|
Description
Excerpt |
---|
|
Change the username for a user. |
Change the username for a user.
...
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
userName | String | Yes | Username of selected user to change | newName | String | Yes | New username for user. |
|
Return Type
Boolean
Returns "true" if the username was updated and "false" if not.
...
Code Block |
---|
|
return admUpdateUsername("jonDoe", "jonSmith"); |
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "admin_routines" and space = currentSpace ( ) |
---|
labels | array_routines |
---|
|