Package com.tietoenator.trip.jxp.control
Class TdbUserAccessList
java.lang.Object
com.tietoenator.trip.jxp.session.TdbSessionObject
com.tietoenator.trip.jxp.TdbMessageProvider
com.tietoenator.trip.jxp.TdbMessageProvidingList<TdbControlObject>
com.tietoenator.trip.jxp.control.TdbControlObjectList
com.tietoenator.trip.jxp.control.TdbUserAccessList
- All Implemented Interfaces:
com.tietoenator.trip.jxp.internal.utils.DOMSink,Iterable<TdbControlObject>,Collection<TdbControlObject>,List<TdbControlObject>,SequencedCollection<TdbControlObject>
Retrieve the access rights for a particular user
-
Constructor Summary
ConstructorsConstructorDescriptionTdbUserAccessList(TdbSession session, String username) Constructor, retrieve the database access rights explicitly granted to a particular user.TdbUserAccessList(TdbSession session, String username, boolean includeGroups) Constructor, retrieve the database access rights for a particular user. -
Method Summary
Methods inherited from class com.tietoenator.trip.jxp.control.TdbControlObjectList
contains, contains, get, refresh, transformMethods inherited from class com.tietoenator.trip.jxp.TdbMessageProvidingList
add, add, addAll, addAll, clear, contains, containsAll, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArrayMethods inherited from class com.tietoenator.trip.jxp.TdbMessageProvider
codeList, getLastCode, getLastMessage, hasMessages, messageList, resetMessagesMethods inherited from class com.tietoenator.trip.jxp.session.TdbSessionObject
cancel, getSession, isCancelable, setCancelableMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
addFirst, addLast, equals, getFirst, getLast, hashCode, removeFirst, removeLast, replaceAll, reversed, sort, spliterator
-
Constructor Details
-
TdbUserAccessList
Constructor, retrieve the database access rights explicitly granted to a particular user.- Parameters:
session- Active sessionusername- 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 sessionusername- The name of the user for whom access rights are to be retrievedincludeGroups- 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
-