Learn R Programming

datarobot (version 2.18.6)

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)

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.

Arguments

object

object. The shared object to inspect access for.

batchSize

integer. The number of requests per page to expect.

Examples

Run this code
if (FALSE) {
 dataStoreId <- "5c1303269300d900016b41a7"
 dataStore <- GetDataStore(dataStoreId)
 ListSharingAccess(dataStore)
}

Run the code above in your browser using DataLab