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.

Parameters

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.

...

Example

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

...

Example

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

Returns the first

user

found with the "jdoe@example

.

com" email.

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "

...

user_

...

routines" and space = currentSpace ( )
labels

...

array_

...

routines