Skip to navigation

UnauthorizedException

View as Markdown
global class UnauthorizedException extends Exception
Description
The exception thrown when unauthorized access is detected.
AccessRequirement
global enum AccessRequirement
Access requirements:
  • Unspecified: Not specified.
  • DocuSignLogin: Must be assigned the DocuSign Login permission set.
  • DocuSignSender: Must be assigned the DocuSign Sender permission set.
  • DocuSignUser: Must be assigned the DocuSign User permission set.
  • DocuSignAdministrator: Must be assigned the DocuSign Administrator permission set.
  • DocuSignGenerator: Must be assigned the DocuSign Generator permission set.
  • DocuSignNegotiator: Must be assigned the DocuSign Negotiator permission set.
  • ClmAdministrator: Must be assigned the CLM Administrator permission set.
  • ClmUser: Must be assigned the CLM User permission set.
  • ClmCommunityUser: Must be assigned the CLM Community User permission set.
  • ClmViewer: Must be assigned the CLM Viewer permission set.
  • SalesforceAdministrator: Must be a Salesforce administrator.
  • EnvelopeOwner: Must be the envelope owner.
  • ConfigureAccount: Docusign account is not configured in Salesforce.
  • OriginalUser: Cannot impersonate user.
  • IntegrationUser: Must be the integration user.
  • AccountMember: Not a member of the Docusign account.
  • CurrentSalesforceUser: Must be the current Salesforce user.
requirement
global AccessRequirement requirement
The access requirement.
userId
global Id userId
The ID of the unauthorized user.