currentUserPermissionOnCustomers Query
This query returns the list of customers for which the current user has the permission given by permissionName. E.g. to get the list of customer for which the current user has the permission 'SYSTEM_VIEW' the query would look like:
query { currentUserPermissionOnCustomers(permissionName:'SYSTEM_VIEW') { id label } }
If the permission is invalid an error will be returned.
Arguments
#
Response
#
Returns [ CustomerReference !]!.
Example
#
Previous
currentUser