GetCurrentUser() public method

Get the current user.

It mirrors To the following Smartsheet REST API method: GET /users/me

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 GetCurrentUser ( ) : UserProfile
return UserProfile
        public virtual void TestGetCurrentUser()
        {
            server.setResponseBody("../../../TestSDK/resources/getCurrentUser.json");

            UserProfile user = userResources.GetCurrentUser();

            Assert.AreEqual("*****@*****.**", user.Email);
            Assert.AreEqual(48569348493401200L, (long)user.Id);
            Assert.AreEqual("John", user.FirstName);
            Assert.AreEqual("Doe", user.LastName);
        }