*** This interface provides Binary Compatibility only, not Source Compatibility ***

Interface IdentityInterface

All Superinterfaces:
MetadataInterface, PublicObjectInterface, Remote
All Known Subinterfaces:
IdentityGroupInterface, PersonInterface, RoleInterface
All Known Implementing Classes:
AllUsersIdentity, AuthenticatedIdentity, DavPerson, PropertyIdentity, ReferenceIdentity, SelfIdentity, UnauthenticatedIdentity

@SASScope("ALL") @BinaryCompatibilityOnly public interface IdentityInterface extends MetadataInterface
  • Method Details

    • getLogins

      List getLogins() throws ServiceException, RemoteException
      Get a list of the Login objects associated with this Identity.
      Returns:
      a List of the Logins.
      Throws:
      ServiceException - in the event of a repository failure.
      RemoteException - in the event of remote object failure.
    • addLogin

      void addLogin(LoginInterface login) throws ServiceException, RemoteException
      Add a login to the Identity.
      Parameters:
      login - The Login to add to this Identity.
      Throws:
      ServiceException - If a repository error occurs.
      RemoteException - In the event of remote object failure.
    • removeLogin

      void removeLogin(LoginInterface login) throws ServiceException, RemoteException
      Remove a Login from the Identity.
      Parameters:
      login - The Login to remove from this Identity.
      Throws:
      ServiceException - If a repository error occurs.
      RemoteException - In the event of remote object failure.
    • getUserIds

      List getUserIds() throws ServiceException, RemoteException
      Get a list of the user id's from the logins associated with this Identity.
      Returns:
      a List of the user id's.
      Throws:
      ServiceException - in the event of repository failure.
      RemoteException - in the event of remote object failure.
    • getIdentityGroups

      List getIdentityGroups() throws ServiceException, RemoteException
      Get a List of the IdentityGroups that this Identity belongs to.
      Returns:
      A List of IdentityGroupInterface objects that this identity is a direct member of.
      Throws:
      ServiceException - If a repository error occurs.
      RemoteException - In the event of remote object failure.
    • getDisplayName

      String getDisplayName() throws ServiceException, RemoteException
      Get the identity's display name attribute.
      Returns:
      The display name, or null if it hasn't been set.
      Throws:
      ServiceException - If a service level error occurs.
      RemoteException - In the event of remote object failure.
    • setDisplayName

      void setDisplayName(String displayName) throws ServiceException, RemoteException
      Set the identity's display name. Most users will not have permission to perform this operation. Only user/group administrators will be able to change display names.
      Parameters:
      displayName - The identity's new display name.
      Throws:
      ServiceException - If a repository error occurs.
      RemoteException - In the event of remote object failure.
    • getEffectiveDispayName

      String getEffectiveDispayName() throws ServiceException, RemoteException
      Deprecated.
      Please use the correctly spelled version.
      Get the effective display name for the identity. If the display name is non-null, that will be returned. Otherwise, the name is returned.
      Returns:
      The effective display name.
      Throws:
      ServiceException - If a service level error occurs.
      RemoteException - In the event of remote object failure.
    • getEffectiveDisplayName

      String getEffectiveDisplayName() throws ServiceException, RemoteException
      Get the effective display name for the identity. If the display name is non-null, that will be returned. Otherwise, the name is returned.
      Returns:
      The effective display name.
      Throws:
      ServiceException - If a service level error occurs.
      RemoteException - In the event of remote object failure.
    • getIdentityType

      String getIdentityType() throws ServiceException, RemoteException
      Return the type of Identity. This is mostly for internal use. Returns either "Person" or "IdentityGroup". To get the user friendly string, just use getType().
      Returns:
      The identity type string.
      Throws:
      ServiceException - If a service level error occurs.
      RemoteException - In the event of remote object failure.
    • getIdentityMembershipLevels

      List<IdentityMembershipInterface> getIdentityMembershipLevels() throws ServiceException, RemoteException
      Returns the List of IdentityMembershipInterface instances ordered by membership level
      Returns:
      List<IdentityMembershipInterface>
      Throws:
      ServiceException - If a service level error occurs.
      RemoteException - In the event of remote object failure.
    • getExternalIdentities

      List<ExternalIdentityInterface> getExternalIdentities() throws ServiceException, RemoteException
      Get a list of the External Identity objects associated with this Identity.
      Returns:
      a List of the External Identities.
      Throws:
      ServiceException - in the event of a repository failure.
      RemoteException - in the event of remote object failure.
    • addExternalIdentity

      void addExternalIdentity(ExternalIdentityInterface externalIdentity) throws ServiceException, RemoteException
      Add an external identity to the Identity.
      Parameters:
      externalIdentity - The external identity to add to this Identity.
      Throws:
      ServiceException - If a repository error occurs.
      RemoteException - In the event of remote object failure.
    • removeExternalIdentity

      void removeExternalIdentity(ExternalIdentityInterface externalIdentity) throws ServiceException, RemoteException
      Remove an external identity from the Identity.
      Parameters:
      externalIdentity - The external identity to remove from this Identity.
      Throws:
      ServiceException - If a repository error occurs.
      RemoteException - In the event of remote object failure.