Learn R Programming

datarobot (version 2.16.0)

ListSharingAccess: 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

Run this code
# NOT RUN {
 dataStoreId <- "5c1303269300d900016b41a7"
 dataStore <- GetDataStore(dataStoreId)
 ListSharingAccess(dataStore)
# }

Run the code above in your browser using DataLab