Smartsheet.Api.Internal.UserResourcesImpl.GetAlternateEmail C# (CSharp) Method

GetAlternateEmail() public method

Get alternate email.

It mirrors to the following Smartsheet REST API method: GET /users/{userId}/alternateemails/{alternateEmailId}

if any argument is null or empty string if there is any problem with the REST API request if there is any problem with the REST API authorization (access token) if the resource cannot be found if the REST API service is not available (possibly due To rate limiting) if there is any other error during the operation
public GetAlternateEmail ( long userId, long altEmailId ) : AlternateEmail
userId long the Id of the user
altEmailId long the alternate email Id
return AlternateEmail
        public AlternateEmail GetAlternateEmail(long userId, long altEmailId)
        {
            return this.GetResource<AlternateEmail>("users/" + userId + "/alternateemails/" + altEmailId, typeof(AlternateEmail));
        }