class Privileges extends Resource (View source)

The "privileges" collection of methods.

Typical usage is:

 $adminService = new Google\Service\Directory(...);
 $privileges = $adminService->privileges;

Methods

listPrivileges(string $customer, array $optParams = [])

Retrieves a paginated list of all privileges for a customer.

Details

Privileges listPrivileges(string $customer, array $optParams = [])

Retrieves a paginated list of all privileges for a customer.

(privileges.listPrivileges)

Parameters

string $customer

The unique ID for the customer's Google Workspace account. In case of a multi-domain account, to fetch all groups for a customer, use this field instead of domain. You can also use the my_customer alias to represent your account's customerId. The customerId is also returned as part of the Users resource. You must provide either the customer or the domain parameter.

array $optParams

Optional parameters.

Return Value

Privileges

Exceptions

Exception