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

GetUser() public method

Gets the user.

It mirrors To the following Smartsheet REST API method: GET /users/{userId}

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 GetUser ( long userId ) : UserProfile
userId long the user Id
return UserProfile
        public virtual UserProfile GetUser(long userId)
        {
            return this.GetResource<UserProfile>("users/" + userId, typeof(UserProfile));
        }