General Introduction
Features
Settings
Email system
Date and Time
URL rewrite
Special constants
Special variables
Complex logic in filter
Add
Authorize
CanDoFileOperation
ChangePassword
Delete
GetAnonymousUserID
GetByID
GetByLogin
GetCount
GetEmail
GetExternalAuthList
GetFirstName
GetFullName
GetID
GetLastName
GetList
GetLogin
GetParam
GetPasswordHash
GetUserGroup
GetUserGroupArray
GetUserGroupList
GetUserGroupString
IsAdmin
IsAuthorized
IsOnLine
Login
LoginByHash
Logout
Register
SavePasswordHash
SendPassword
SendUserInfo
SetLastActivityDate
SetParam
SetUserGroup
SetUserGroupArray
SimpleRegister
Update
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
- CUser fields
- CUser::GetID
- CUser::GetFullName
- CUser::GetFirstName
- CUser::GetLastName
- CUser::GetParam
- CUser::GetUserGroup
- CUser::GetUserGroupArray
- CUser::GetUserGroupString
Examples of use
<? global $USER; echo "Your e-Mail: ".$USER->GetEmail(); ?>
© «Bitrix24», 2001-2024
Up