Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

getUserByEmail(email)

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue

Gets the user by email address.

Gets the user by email address.

...

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

Parameter name

Type

Required

Description

email

String

Yes

Email address of a user.

Return Type

CUser

Returns the first user found with the specified email address.

...

Code Block
languagejs
CUser user = getUserByEmail("jdoe@example.com");

Note

If there are multiple users with the same email address, the routine does not guarantee that it will always return the same user.

See also

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