Retrieves the security privileges for the logged in user.
- All users can use this API, but only to determine their own privileges. To check the privileges of other users, you must use the run as feature. For more information, see Submitting requests on behalf of other users.
To check whether a user has a specific list of privileges, use the has privileges API.