Package org.tanukisoftware.wrapper
Class WrapperUser
java.lang.Object
org.tanukisoftware.wrapper.WrapperUser
- Direct Known Subclasses:
WrapperUNIXUser
,WrapperWin32User
A WrapperUser contains information about a user account on the platform
running the Wrapper. A WrapperUser is obtained by calling
WrapperManager.getUser() or WrapperManager.getInteractiveUser().
-
Method Summary
Modifier and TypeMethodDescriptionReturns an array of WrapperGroup instances which define the groups that the user belongs to.getUser()
Returns the name of the user.
-
Method Details
-
getUser
Returns the name of the user.- Returns:
- The name of the user.
-
getGroups
Returns an array of WrapperGroup instances which define the groups that the user belongs to.- Returns:
- An array of WrapperGroups.
-