ListSharingAccess: List information about which users have what kinds of access...

View source: R/Sharing.R

ListSharingAccessR Documentation

List information about which users have what kinds of access to a shared object.

Description

Note that currently only data sources and data stores can be shared with this API.

Usage

ListSharingAccess(object, batchSize = NULL)

Arguments

object

object. The shared object to inspect access for.

batchSize

integer. The number of requests per page to expect.

Value

A list specifying information on access:

  • username character. The name of the user with access.

  • userId character. The ID of the user with access.

  • role character. The type of access granted. See SharingRole for options.

  • canShare logical. Whether the user can further share access.

Examples

## Not run: 
 dataStoreId <- "5c1303269300d900016b41a7"
 dataStore <- GetDataStore(dataStoreId)
 ListSharingAccess(dataStore)

## End(Not run)

datarobot documentation built on Nov. 3, 2023, 1:07 a.m.