isItemSharedWithGroup
FunctionisItemSharedWithGroup(requestOptions: IGroupSharingOptions): Promise<boolean>
Find out whether or not an item is already shared with a group.
import { isItemSharedWithGroup } from "@esri/arcgis-rest-portal";
isItemSharedWithGroup({
groupId: 'bc3,
itemId: 'f56,
authentication
})
.then(isShared => {})
Parameters
Parameter | Type | Notes |
---|---|---|
request | IGroupSharingOptions | Options for the request. NOTE: |
Returns
Promise<boolean>
Promise that will resolve with true/false