public interface User extends SecurityPrincipal
Permission
objects have an associated User
or Group
object.
Group
and Realm
objects have associated User
objects,
and can also have associated Group
objects.
User accounts and the groups and subgroups to which they belong are defined and created using tools provided by your directory service product (for example, Windows Active Directory, Novell eDirectory, or Oracle Directory Server). Creating and modifying user accounts and groups are administrative tasks (typically performed by a system administrator) that are outside the scope of the Content Engine API.
You cannot create a new User
object, but you can instantiate one that has been
persisted in your directory service by:
Factory.User.fetchCurrent
, which returns the current user.getInstance
or fetchInstance
on the Factory.User
class.User
object from a UserSet
collection object. You can call methods on the User
object to retrieve information about the user,
such as the user's name and ID and to which groups the user belongs.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
get_DisplayName()
Returns the value of the DisplayName property.
|
java.lang.String |
get_DistinguishedName()
Returns the value of the DistinguishedName property.
|
java.lang.String |
get_Email()
Returns the value of the Email property.
|
java.lang.String |
get_Id()
Returns the value of the Id property.
|
GroupSet |
get_MemberOfGroups()
Returns the value of the MemberOfGroups property.
|
java.lang.String |
get_Name()
Returns the value of the Name property.
|
java.lang.String |
get_ShortName()
Returns the value of the ShortName property.
|
fetchProperties, fetchProperties, fetchProperty, fetchProperty, getObjectReference, refresh, refresh, refresh
get_ClassDescription, getClassName, getConnection, getProperties, getSuperClasses
java.lang.String get_Name()
java.lang.String get_Id()
GroupSet get_MemberOfGroups()
java.lang.String get_DisplayName()
java.lang.String get_DistinguishedName()
java.lang.String get_ShortName()
java.lang.String get_Email()
© Copyright IBM Corporation 2006, 2015. All rights reserved.