Skip to end of banner
Go to start of banner

getUserByEmail

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Syntax

getUserByEmail(email)

Description

  Gets the user by email address.

Parameters

Parameter name

Type

Required

Description

email

stringYesEmail address of a user.

Return type

CUser

Returns the first user found with the specified email address.

Notes:

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

Example

Example 1

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

Returns the first user found with the email "jdoe@example.com".

See also

  • No labels