isItemSharedWithGroup

isItemSharedWithGroup

Function
isItemSharedWithGroup(requestOptionsIGroupSharingOptions): Promise<boolean>

Find out whether or not an item is already shared with a group.

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
import { isItemSharedWithGroup } from "@esri/arcgis-rest-portal";

isItemSharedWithGroup({
  groupId: 'bc3,
  itemId: 'f56,
  authentication
})
.then(isShared => {})
Parameters
ParameterTypeNotes
requestOptions
IGroupSharingOptions

Options for the request. NOTE: rawResponse is not supported by this operation.

Returns 
Promise<boolean>

Promise that will resolve with true/false

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.