Click or drag to resize

UserResources Interface

This interface provides methods to access User resources.

Thread Safety: Implementation of this interface must be thread safe.

Namespace:  Smartsheet.Api
Assemblies:   smartsheet-csharp-sdk (in smartsheet-csharp-sdk.dll) Version: 2.126.0
  smartsheet-csharp-sdk (in smartsheet-csharp-sdk.dll) Version: 2.126.0
Syntax
public interface UserResources

The UserResources type exposes the following members.

Properties
  NameDescription
Public propertySheetResources

Return the UserSheetResources object that provides access to sheets resources associated with User resources.

Top
Methods
  NameDescription
Public methodAddAlternateEmail

Add alternate email(s).

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

Public methodAddProfileImage

Uploads a profile image for the specified user.

Public methodAddUser

Add a user to the organization

It mirrors to the following Smartsheet REST API method: POST /Users

Public methodDeleteAlternateEmail

Delete alternate email.

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

Public methodGetAlternateEmail

Get alternate email.

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

Public methodGetCurrentUser

Get the current user.

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

Public methodGetCurrentUser(IEnumerableUserInclusion)

Get the current user.

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

Public methodGetUser

Gets the user.

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

Public methodListAlternateEmails

List all user alternate email(s).

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

Public methodListUsers(IEnumerableString, PaginationParameters)

Gets the list of Users in the organization. To filter by email, use the optional email query string parameter to specify a list of users’ email addresses.

It mirrors to the following Smartsheet REST API method: GET /Users

Public methodListUsers(IEnumerableString, IEnumerableListUserInclusion, PaginationParameters)

Gets the list of Users in the organization. To filter by email, use the optional email query string parameter to specify a list of users’ email addresses.

It mirrors to the following Smartsheet REST API method: GET /Users

Public methodPromoteAlternateEmail

Promote an alternate email to primary.

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

Public methodRemoveUser

Removes a User from an organization. User is transitioned to a free collaborator with read-only access to owned sheets (unless those are optionally transferred to another user).

Remarks
This operation is only available to system administrators.

It mirrors to the following Smartsheet REST API method: DELETE /user{Id}

Public methodUpdateUser

Update a user.

It mirrors to the following Smartsheet REST API method: PUT /users/{userId}

Top
See Also