User exceptions

The User service provides the following exception for throwing exception events.

InvalidPrincipal

Thrown when the task cannot locate a specified user or group profile. This exception can occur for the following reasons:

  • A user is deleted or disabled locally or in LDAP.

  • The domain that a user is part of is deleted or disabled locally or in LDAP.

  • The group to which your user belongs is deleted or disabled locally or in LDAP.