isusernametaken() Function
This function cannot be used with Custom Record Field Expressions. It can only be used with Offline Mobile if it is loaded at the top of the form.
For a full list of functions and their feature compatibility, explore the Appian Functions table.

Function

isusernametaken( username )

Verifies whether a user account with the specified username is already present.

See also: Create a New User, Add User Smart Service

Parameters

Keyword Type Description

username

Text

The username to check against the current list of active and deactivated users.

Usage considerations

Returns a value of type Boolean.

A false result indicates that the username is available to use when creating a new user, unless the username contains special characters that are not permitted.

Both active and deactivated user accounts are referenced.

The username parameter is case-sensitive, however you will not be able to create a username if case-insensitive matches exist.

isusernametaken() cannot be used to define a column of process report data or in a process event.

Examples

You can copy and paste these examples into the Expression Rule Designer to see how this works.

isusernametaken("john.doe") returns true

Open in Github Built: Mon, Mar 27, 2023 (06:46:16 PM)

On This Page

FEEDBACK