Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table plus
heading
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
0multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

admUpdateUsername(userName, newName)

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue
Change the username for a user.

Change the username for a user.

Parameters

...

applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

...

Parameter name

...

Type

...

Required

...

Description

...

userName

...

String

...

Yes

...

Username of selected user to change

...

newName

...

String

...

Yes

...

user.

Return Type

Boolean

Returns "true" if the username was updated and "false" if not.

...

Code Block
languagejs
return admUpdateUsername("jonDoe", "jonSmith");

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "admin_routines" and space = currentSpace ( )
labelsarray_routines