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. 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 Sun Java System 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:

  • Calling Factory.User.FetchCurrent, which returns the current user.
  • Calling GetInstance or FetchInstance on the Factory.User class.
  • Retrieving an individual 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.


Namespace: FileNet.Api.Security
Assembly: FileNet.Api (in filenet.api.dll)

Syntax

Visual Basic (Declaration)
Public Interface IUser
    Implements ISecurityPrincipal, IIndependentObject, IEngineObject, ICloneable
C#
public interface IUser : ISecurityPrincipal, IIndependentObject, IEngineObject, ICloneable
C++
interface class IUser : ISecurityPrincipal, IIndependentObject, IEngineObject, ICloneable
J#
public interface IUser implements ISecurityPrincipal, IIndependentObject, IEngineObject, ICloneable
JScript
public interface IUser extends ISecurityPrincipal, IIndependentObject, IEngineObject, ICloneable

Remarks

Metadata

Auditable: false
AllowsInstances: false
AllowsSubClasses: false
ClassDefinitionName: None
IsDependent: false
IsHidden: false
Searchable: false
StorageType: Domain
SuperclassName: SecurityPrincipal

See Also