Context.Security.GetEmail as C ()
Context.Security.GetEmail as C (UserName as C)
Optional. The user name for which the email address is to be retrieved. If no user name is used then the email address for the current user will be retrieved.
Returns the email address for a user, if any.
Gets the email address of the specified user.
Context.Security.GetEmail() gets the email address of the specified user, or when no user is specified, gets the email address of the current user. Check Context.Security.CallResult.Success before using the return value.