Documentation

GetEmail

string
CUser::GetEmail()

The method returns the e-mail address of the currently authorized user (usually called from the $USER object). The data is sourced from the session. Non-static method.

Parameters

No parameters.

See Also

Examples of use

<?
global $USER;
echo "Your e-Mail: ".$USER->GetEmail();
?>


© «Bitrix24», 2001-2024
Up