OptionalaccountId?: stringThe account ID of a user.
OptionalglobalPermissions?: string[]Global permissions to look up.
OptionalprojectPermissions?: {Project permissions with associated projects and issues to look up.
Optionaloptions: RequestOptions
Returns:
If no account ID is provided, the operation returns details for the logged in user.
Note that:
globalPermissions,projectPermissions,projectPermissions.projects, andprojectPermissions.issuesare ignored.projectPermissions.permissionsare ignored.Deprecation notice: The required OAuth 2.0 scopes will be updated on June 15, 2024.
read:jira-workread:permission:jiraThis operation can be accessed anonymously.
Permissions required: Administer Jira global permission to check the permissions for other users, otherwise none. However, Connect apps can make a call from the app server to the product to obtain permission details for any user, without admin permission. This Connect app ability doesn't apply to calls made using AP.request() in a browser.