Class TdbUserAccessList

All Implemented Interfaces:
com.tietoenator.trip.jxp.internal.utils.DOMSink, Iterable<TdbControlObject>, Collection<TdbControlObject>, List<TdbControlObject>

public class TdbUserAccessList extends TdbControlObjectList
Retrieve the access rights for a particular user
  • Constructor Details

    • TdbUserAccessList

      public TdbUserAccessList(TdbSession session, String username) throws TdbException
      Constructor, retrieve the database access rights explicitly granted to a particular user.
      Parameters:
      session - Active session
      username - The name of the user for whom access rights are to be retrieved
      Throws:
      TdbException
    • TdbUserAccessList

      public TdbUserAccessList(TdbSession session, String username, boolean includeGroups) throws TdbException
      Constructor, retrieve the database access rights for a particular user.

      Passing true to the includeGroups parameter of this constructor requries TRIPsystem 6.2-9 or later to have any effect.

      Parameters:
      session - Active session
      username - The name of the user for whom access rights are to be retrieved
      includeGroups - Pass true to also retrieve access rights granted to the user via group memberships, and false to only retrieve access rights granted explicitly to the specified user.
      Throws:
      TdbException