isusernametaken() Function

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

Syntax

isusernametaken( username )

username: (Text) The username to check against the current list of active and deactivated users.

Notes

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.

Examples

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

isusernametaken("john.doe") returns true

See Also

Creating a New User

Add User Smart Service

17.1

On This Page

FEEDBACK