Метод | Описание | |
---|---|---|
AddMemberToGroupAsync ( Box.V2.Models.Request.BoxGroupMembershipRequest membershipRequest, List |
Add a user to a group.
|
|
BoxGroupsManager ( IBoxConfig config, IBoxService service, IBoxConverter converter, IAuthRepository auth, string asUser = null, bool suppressNotifications = null ) : Box.V2.Auth |
Create a new Boxgroupmanager object.
|
|
CreateAsync ( Box.V2.Models.Request.BoxGroupRequest groupRequest, List |
Create a new group.
|
|
DeleteAsync ( string id ) : Task |
Delete an existing group.
|
|
DeleteGroupMembershipAsync ( string id ) : Task |
Delete a group membership.
|
|
GetAllGroupMembershipsForGroupAsync ( string groupId, int limit = null, int offset = null, List |
Get the list of group memberships for a given group.
|
|
GetAllGroupMembershipsForUserAsync ( string userId, int limit = null, int offset = null, List |
Get the list of group memberships for a given user.
|
|
GetAllGroupsAsync ( int limit = null, int offset = null, List |
Retrieves all of the groups for given enterprise. Must have permissions to see an enterprise's groups.
|
|
GetCollaborationsForGroupAsync ( string groupId, int limit = null, int offset = null, List |
Retrieves all of the group collaborations for a given group. Note this is only available to group admins.
|
|
GetGroupAsync ( string id, List |
Returns the group with the specified id.
|
|
GetGroupMembershipAsync ( string id, List |
Returns the group membership with the specified id.
|
|
UpdateAsync ( string id, Box.V2.Models.Request.BoxGroupRequest groupRequest, List |
Update an existing group.
|
|
UpdateGroupMembershipAsync ( string membershipId, Box.V2.Models.Request.BoxGroupMembershipRequest memRequest, List |
Updates the specified group membership with the specified request.
|
public AddMemberToGroupAsync ( Box.V2.Models.Request.BoxGroupMembershipRequest membershipRequest, List |
||
membershipRequest | Box.V2.Models.Request.BoxGroupMembershipRequest | BoxGroupMembershipRequest object. |
fields | List |
Attribute(s) to include in the response. |
Результат | Task |
public BoxGroupsManager ( IBoxConfig config, IBoxService service, IBoxConverter converter, IAuthRepository auth, string asUser = null, bool suppressNotifications = null ) : Box.V2.Auth | ||
config | IBoxConfig | |
service | IBoxService | |
converter | IBoxConverter | |
auth | IAuthRepository | |
asUser | string | |
suppressNotifications | bool | |
Результат | Box.V2.Auth |
public CreateAsync ( Box.V2.Models.Request.BoxGroupRequest groupRequest, List |
||
groupRequest | Box.V2.Models.Request.BoxGroupRequest | BoxGroupRequest object. |
fields | List |
Attribute(s) to include in the response. |
Результат | Task |
public DeleteAsync ( string id ) : Task |
||
id | string | The id of the group to delete. |
Результат | Task |
public DeleteGroupMembershipAsync ( string id ) : Task |
||
id | string | The id of the groupmembership to delete. |
Результат | Task |
public GetAllGroupMembershipsForGroupAsync ( string groupId, int limit = null, int offset = null, List |
||
groupId | string | The id of the group to get the list of memberships for. |
limit | int | The number of results to return with this request. Refer to the Box API for defaults. |
offset | int | The offset of the results. Refer to the Box API for more details. |
fields | List |
Attribute(s) to include in the response. |
autoPaginate | bool | Whether or not to auto-paginate to fetch all group memberships; defaults to false. |
Результат | Task |
public GetAllGroupMembershipsForUserAsync ( string userId, int limit = null, int offset = null, List |
||
userId | string | The id of the user to get the list of memberships for. |
limit | int | The number of results to return with this request. Refer to the Box API for defaults. |
offset | int | The offset of the results. Refer to the Box API for more details. |
fields | List |
Attribute(s) to include in the response. |
autoPaginate | bool | Whether or not to auto-paginate to fetch all group memberships; defaults to false. |
Результат | Task |
public GetAllGroupsAsync ( int limit = null, int offset = null, List |
||
limit | int | The number of results to return with this request. Refer to the Box API for defaults. |
offset | int | The offset of the results. Refer to the Box API for more details. |
fields | List |
Attribute(s) to include in the response. |
autoPaginate | bool | Whether or not to auto-paginate to fetch all groups; defaults to false. |
Результат | Task |
public GetCollaborationsForGroupAsync ( string groupId, int limit = null, int offset = null, List |
||
groupId | string | The id of the group to get the list of collaborations for. |
limit | int | The number of results to return with this request. Refer to the Box API for defaults. |
offset | int | The offset of the results. Refer to the Box API for more details. |
fields | List |
Attribute(s) to include in the response. |
autoPaginate | bool | Whether or not to auto-paginate to fetch all group collaborations; defaults to false. |
Результат | Task |
public GetGroupAsync ( string id, List |
||
id | string | The id of the group to return. |
fields | List |
Attribute(s) to include in the response. |
Результат | Task |
public GetGroupMembershipAsync ( string id, List |
||
id | string | The id of the group membership to return. |
fields | List |
Attribute(s) to include in the response. |
Результат | Task |
public UpdateAsync ( string id, Box.V2.Models.Request.BoxGroupRequest groupRequest, List |
||
id | string | Id of the group to update. |
groupRequest | Box.V2.Models.Request.BoxGroupRequest | BoxGroupRequest object. |
fields | List |
Attribute(s) to include in the response. |
Результат | Task |
public UpdateGroupMembershipAsync ( string membershipId, Box.V2.Models.Request.BoxGroupMembershipRequest memRequest, List |
||
membershipId | string | It of the group membership to update. |
memRequest | Box.V2.Models.Request.BoxGroupMembershipRequest | BoxGroupMembershipRequest object. |
fields | List |
Attribute(s) to include in the response. |
Результат | Task |