DocumentClient.queryPermissions 方法

定义

重载

queryPermissions(String permissionLink, SqlQuerySpec querySpec, FeedOptions options)

Query for permissions.

queryPermissions(String userLink, String query, FeedOptions options)

Query for permissions.

queryPermissions(String permissionLink, SqlQuerySpec querySpec, FeedOptions options)

Query for permissions.

public FeedResponse<Permission> queryPermissions(String permissionLink, SqlQuerySpec querySpec, FeedOptions options)

参数

permissionLink
String

the permission link.

querySpec
SqlQuerySpec

the SQL query specification.

options
FeedOptions

the feed options.

返回

the feed response with the obtained permissions.

queryPermissions(String userLink, String query, FeedOptions options)

Query for permissions.

public FeedResponse<Permission> queryPermissions(String userLink, String query, FeedOptions options)

参数

userLink
String

the user link.

query
String

the query.

options
FeedOptions

the feed options.

返回

the feed response with the obtained permissions.

适用于