Syntax
userExists(userNameOrKey)
Description
Checks whether the specified user is a registered Confluence user.Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
| string | Yes | User name or key to check. |
Return type
boolean (true/false)
Returns true if the specified user is a registered Confluence user. Otherwise the routine returns false.
Example
return userExists("jdoe");
Checks if the jdoe user is a registered Confluence user.
See also