shareItemToGroups
Function
Share an item to a set of groups
- shareItemToGroups(itemId: string, groupIds: string[], requestOptions: IRequestOptions, owner: string) : Promise<ISharingResponse[]>
Parameters
Parameter |
Type |
Default |
Notes |
itemId
Required
|
string |
|
Item Id to share to the groups
|
groupIds
Required
|
string[] |
|
Array of group id's to which the item will be shared
|
requestOptions
Required
|
IRequestOptions |
|
|
owner
Optional
|
string |
|
optional Owner username to determine which endpoint to hit
|
Available requestOptions
Returns
Promise<ISharingResponse[]>
Function defined in common/src/items/share-item-to-groups.ts:19