Méthode | Description | |
---|---|---|
AddGroupMembers ( long groupId, IEnumerable |
Adds one or more members to a Group. If called with a single GroupMember object, and that group member already exists, error code 1129 will be returned. If called with an array of GroupMember objects any users specified in the array that are already group members will be ignored and omitted from the response. This operation is only available to group administrators and system administrators. This operation is asynchronous, meaning the users may not yet have sharing access to sheets for a period of time after this operation returns. For small groups with limited sharing, the operation should complete quickly (within a few seconds). For large groups with many shares, this operation could possibly take more than a minute to complete. It mirrors To the following Smartsheet REST API method: POST /groups/{groupId}/members
|
|
CreateGroup ( Group group ) : Group |
Creates a new Group. It mirrors To the following Smartsheet REST API method: POST /groups
|
|
DeleteGroup ( long groupId ) : void |
Deletes the Group specified in the URL. It mirrors To the following Smartsheet REST API method: DELETE /groups/{groupId}
|
|
GetGroup ( long groupId ) : Group |
Gets the Group specified in the URL. It mirrors To the following Smartsheet REST API method: GET /groups/{groupId}
|
|
GroupResourcesImpl ( |
Constructor. Exceptions: - IllegalArgumentException : if any argument is null
|
|
ListGroups ( PaginationParameters paging ) : PaginatedResult |
List all Users. It mirrors To the following Smartsheet REST API method: GET /groups
|
|
RemoveGroupMember ( long groupId, long userId ) : void |
Removes a member from a Group. This operation is only available to group administrators and system administrators. This operation is asynchronous, meaning group members may retain their sharing access for a brief period of time after the call returns. For small groups with limited sharing, the operation should complete quickly (within a few seconds). For large groups with many shares, this operation could possibly take more than a minute to complete. It mirrors To the following Smartsheet REST API method: DELETE /groups/{groupId}/members/{userId}
|
|
UpdateGroup ( Group group ) : Group |
Updates the Group specified in the URL. It mirrors To the following Smartsheet REST API method: PUT /groups/{groupId}
|
public AddGroupMembers ( long groupId, IEnumerable |
||
groupId | long | the Id of the group |
groupMembers | IEnumerable |
array of Group Member objects |
Résultat | IList |
public CreateGroup ( Group group ) : Group | ||
group | Group | the group object |
Résultat | Group |
public DeleteGroup ( long groupId ) : void | ||
groupId | long | the Id of the group |
Résultat | void |
public GroupResourcesImpl ( |
||
smartsheet | the Smartsheet | |
Résultat | System.Collections.Generic |
public ListGroups ( PaginationParameters paging ) : PaginatedResult |
||
paging | PaginationParameters | the pagination |
Résultat | PaginatedResult |
public RemoveGroupMember ( long groupId, long userId ) : void | ||
groupId | long | the Id of the group |
userId | long | the Id of the user |
Résultat | void |
public UpdateGroup ( Group group ) : Group | ||
group | Group | the group To update |
Résultat | Group |