Databricks SDK for JavaScript
    Preparing search index...
    interface GetPermissionsRequest {
        maxResults?: number;
        pageToken?: string;
        principal?: string;
        securableFullName?: string;
        securableType?: string;
    }
    Index

    Properties

    maxResults?: number

    Specifies the maximum number of privileges to return (page length). Every PrivilegeAssignment present in a single page response is guaranteed to contain all the privileges granted on the requested Securable for the respective principal.

    If not set, all the permissions are returned. If set to

    • lesser than 0: invalid parameter error
    • 0: page length is set to a server configured value
    • lesser than 150 but greater than 0: invalid parameter error (this is to ensure that server is able to return at least one complete PrivilegeAssignment in a single page response)
    • greater than (or equal to) 150: page length is the minimum of this value and a server configured value
    pageToken?: string

    Opaque pagination token to go to next page based on previous query.

    principal?: string

    If provided, only the permissions for the specified principal (user or group) are returned.

    securableFullName?: string

    Full name of securable.

    securableType?: string

    Type of securable.