com.filenet.api.security
Interface User
-
- All Superinterfaces:
- EngineObject, IndependentObject, SecurityPrincipal, java.io.Serializable
public interface User extends SecurityPrincipal
Represents a particular user who has access to Content Engine resources. Access rights and permissions are assigned to a grantee, which can be a user or a group. A user's access to resources can be defined in terms of its membership in a group, but need not be.Permissionobjects have an associatedUserorGroupobject.GroupandRealmobjects have associatedUserobjects, and can also have associatedGroupobjects.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
Userobject, but you can instantiate one that has been persisted in your directory service by:- Calling
Factory.User.fetchCurrent, which returns the current user. - Calling
getInstanceorfetchInstanceon theFactory.Userclass. - Retrieving an individual
Userobject from aUserSetcollection object.
You can call methods on the
Userobject to retrieve information about the user, such as the user's name and ID and to which groups the user belongs.Metadata
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description java.lang.Stringget_DisplayName()Returns the value of the DisplayName property.java.lang.Stringget_DistinguishedName()Returns the value of the DistinguishedName property.java.lang.Stringget_Email()Returns the value of the Email property.java.lang.Stringget_Id()Returns the value of the Id property.GroupSetget_MemberOfGroups()Returns the value of the MemberOfGroups property.java.lang.Stringget_Name()Returns the value of the Name property.java.lang.Stringget_ShortName()Returns the value of the ShortName property.-
Methods inherited from interface com.filenet.api.security.SecurityPrincipal
get_Realm
-
Methods inherited from interface com.filenet.api.core.IndependentObject
fetchProperties, fetchProperties, fetchProperty, fetchProperty, getObjectReference, refresh, refresh, refresh
-
Methods inherited from interface com.filenet.api.core.EngineObject
get_ClassDescription, getClassName, getConnection, getProperties, getSuperClasses
-
-
-
-
Method Detail
-
get_Name
java.lang.String get_Name()
Returns the value of the Name property. For more information, see Name Property.
-
get_Id
java.lang.String get_Id()
Returns the value of the Id property. For more information, see Id Property.
-
get_MemberOfGroups
GroupSet get_MemberOfGroups()
Returns the value of the MemberOfGroups property. For more information, see MemberOfGroups Property.
-
get_DisplayName
java.lang.String get_DisplayName()
Returns the value of the DisplayName property. For more information, see DisplayName Property.
-
get_DistinguishedName
java.lang.String get_DistinguishedName()
Returns the value of the DistinguishedName property. For more information, see DistinguishedName Property.
-
get_ShortName
java.lang.String get_ShortName()
Returns the value of the ShortName property. For more information, see ShortName Property.
-
get_Email
java.lang.String get_Email()
Returns the value of the Email property. For more information, see Email Property.
-
-