public class S_DirectoryUser extends S_TieDirectoryObject
S_DirectoryObject.AncestorIdSetS_LibraryObject.MapInfo| Modifier and Type | Field and Description | 
|---|---|
static String | 
CLASS_NAME
Name of the DIRECTORYUSER class. 
 | 
GET_ANCESTORS_THRESHOLDACL_ATTRIBUTE, CREATEDATE_ATTRIBUTE, CREATOR_ATTRIBUTE, DELETOR_ATTRIBUTE, EXPIRATIONDATE_ATTRIBUTE, FAMILY_ATTRIBUTE, LASTMODIFIER_ATTRIBUTE, LASTMODIFYDATE_ATTRIBUTE, NAME_ATTRIBUTE, OWNER_ATTRIBUTE, POLICY_ENUM_EXTENDEDFREE_IGNORE_OWNERSHIP, POLICY_ENUM_EXTENDEDFREE_INVALID_VALUE, POLICY_ENUM_EXTENDEDFREE_REQUIRE_ADMIN, POLICYBUNDLE_ATTRIBUTE, RESOLVED_OBJECT_ATTRIBUTE, SECURINGPUBLICOBJECT_ATTRIBUTECASCADE_OP_COPY_PUBLICOBJECT_TO_CATEGORY, CASCADE_OP_COPY_PUBLICOBJECT_TO_RIGHT_RELATIONSHIP, CASCADE_OP_DELETE_FAMILY_TO_VERSIONSERIES, CASCADE_OP_DELETE_PUBLICOBJECT_TO_LEFT_RELATIONSHIP, CASCADE_OP_DELETE_PUBLICOBJECT_TO_RIGHT_RELATIONSHIP, CASCADE_OP_DELETE_PUBLICOBJECT_TO_VERSIONDESCRIPTION, CASCADE_OP_DELETE_RELATIONSHIP_TO_LEFT_PUBLICOBJECT, CASCADE_OP_DELETE_RELATIONSHIP_TO_RIGHT_PUBLICOBJECT, CASCADE_OP_DELETE_VERSIONDESCRIPTION_TO_PUBLICOBJECT, CASCADE_OP_DELETE_VERSIONDESCRIPTION_TO_VERSIONSERIES, CASCADE_OP_DELETE_VERSIONSERIES_TO_FAMILY, CASCADE_OP_DELETE_VERSIONSERIES_TO_VERSIONDESCRIPTION, CASCADE_OP_FREE_CATEGORY_TO_PUBLICOBJECT, CASCADE_OP_FREE_CATEGORY_TO_SCHEMAOBJECT, CASCADE_OP_FREE_CATEGORY_TO_SYSTEMOBJECT, CASCADE_OP_FREE_FAMILY_TO_VERSIONSERIES, CASCADE_OP_FREE_PUBLICOBJECT_TO_CATEGORY, CASCADE_OP_FREE_PUBLICOBJECT_TO_LEFT_RELATIONSHIP, CASCADE_OP_FREE_PUBLICOBJECT_TO_RIGHT_RELATIONSHIP, CASCADE_OP_FREE_PUBLICOBJECT_TO_VERSIONDESCRIPTION, CASCADE_OP_FREE_RELATIONSHIP_TO_LEFT_PUBLICOBJECT, CASCADE_OP_FREE_RELATIONSHIP_TO_RIGHT_PUBLICOBJECT, CASCADE_OP_FREE_SCHEMAOBJECT_TO_CATEGORY, CASCADE_OP_FREE_SYSTEMOBJECT_TO_CATEGORY, CASCADE_OP_FREE_VERSIONDESCRIPTION_TO_PUBLICOBJECT, CASCADE_OP_FREE_VERSIONDESCRIPTION_TO_VERSIONSERIES, CASCADE_OP_FREE_VERSIONSERIES_TO_FAMILY, CASCADE_OP_FREE_VERSIONSERIES_TO_VERSIONDESCRIPTION, CASCADE_OP_UNDEFINED, CASCADE_OP_UNDELETE_FAMILY_TO_VERSIONSERIES, CASCADE_OP_UNDELETE_PUBLICOBJECT_TO_LEFT_RELATIONSHIP, CASCADE_OP_UNDELETE_PUBLICOBJECT_TO_RIGHT_RELATIONSHIP, CASCADE_OP_UNDELETE_PUBLICOBJECT_TO_VERSIONDESCRIPTION, CASCADE_OP_UNDELETE_RELATIONSHIP_TO_LEFT_PUBLICOBJECT, CASCADE_OP_UNDELETE_RELATIONSHIP_TO_RIGHT_PUBLICOBJECT, CASCADE_OP_UNDELETE_VERSIONDESCRIPTION_TO_PUBLICOBJECT, CASCADE_OP_UNDELETE_VERSIONDESCRIPTION_TO_VERSIONSERIES, CASCADE_OP_UNDELETE_VERSIONSERIES_TO_FAMILY, CASCADE_OP_UNDELETE_VERSIONSERIES_TO_VERSIONDESCRIPTION, CASCADE_OP_UPDATE_CATEGORY_TO_PUBLICOBJECT, CASCADE_OP_UPDATE_CATEGORY_TO_SCHEMAOBJECT, CASCADE_OP_UPDATE_CATEGORY_TO_SYSTEMOBJECT, CASCADE_OP_UPDATE_PUBLICOBJECT_TO_CATEGORY, CASCADE_OP_UPDATE_SCHEMAOBJECT_TO_CATEGORY, CASCADE_OP_UPDATE_SYSTEMOBJECT_TO_CATEGORY, DEFAULT_RENDERER, m_ClassId, m_Id, m_Session| Modifier | Constructor and Description | 
|---|---|
protected  | 
S_DirectoryUser(S_LibrarySession session,
               Long classId)
Constructs an S_DirectoryUser object. 
 | 
protected  | 
S_DirectoryUser(S_LibrarySession session,
               S_LibraryObjectData data)
Constructs a S_DirectoryUser. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected boolean | 
canUseContentQuota(S_ContentQuota quota)
Returns true if the current user can use the specified ContentQuota
 object. 
 | 
protected void | 
deriveDefinition(S_LibraryObjectDefinition def)
Changes the S_LibraryObjectDefinition for this class. 
 | 
Serializable | 
DYNisUserInDirectoryService(Serializable payload)
Determines if the user is a valid user in the underlying Directory 
 Service. 
 | 
protected void | 
extendedPreFree(OperationState opState,
               S_LibraryObjectDefinition def)
Performs the necessary operations before freeing an object. 
 | 
protected void | 
extendedPreInsert(OperationState opState,
                 S_LibraryObjectDefinition def)
Updates any system attributes appropriate for creating this 
 object. 
 | 
protected void | 
extendedPreUpdate(OperationState opState,
                 S_LibraryObjectDefinition def)
Performs the necessary operations before an update. 
 | 
protected S_PrimaryUserProfile | 
fetchPrimaryUserProfile()
Gets the primary user profile for this user. 
 | 
protected boolean | 
getAdminEnabled()
Checks if this user has admin privileges. 
 | 
protected Long[] | 
getAllAncestorIds()
Gets the set of all IDs that are ancestor groups (direct or indirect) 
 of this user. 
 | 
long | 
getAuditEventCreator()
Return the user ID to use as the creator of an audit
 event. 
 | 
long | 
getAuditEventSessionUser()
Return the user ID to use as the session user of an audit
 event. 
 | 
S_PrimaryUserProfile | 
getPrimaryUserProfile()
Gets the primary user profile for this user. 
 | 
protected boolean | 
getSystemAdminEnabled()
Checks if this user has system admin privileges. 
 | 
boolean | 
isReadIndicationEnabled()
Determines if read indication is enabled for this user. 
 | 
boolean | 
isSharedAccount()
Determines if multiple people are sharing this user account. 
 | 
boolean | 
isUserInDirectoryService()
Determines if this user is a valid user in the underlying Directory 
 Service. 
 | 
protected void | 
verifyCanCreate(S_LibraryObjectDefinition def)
Verifies that an instance can be created. 
 | 
protected void | 
verifyCanFree()
Verifies that an instance can be freed. 
 | 
protected void | 
verifyCanLock()
Verifies that an instance can be locked or unlocked. 
 | 
protected void | 
verifyCanUpdate()
Verifies that an instance can be updated. 
 | 
constructDirectoryObjectArray, DYNDeleteTemporaryIds, DYNInsertTemporaryIds, extendedPostFree, extendedPostInsert, getAllAncestors, getAllMembers, getAllMembersIds, getCredentialManager, getDirectAncestorIds, getDirectAncestors, getDirectMembers, getDistinguishedName, vectorToSDirectoryObjectArray, verifyCanBeMemberaddCategory, addRelationship, addRelationship, cascadeCopy, cascadeDelete, cascadeFree, cascadeUndelete, checkAccess, constructPublicObjectArray, createCategories, createDefaultPolicyPropertyBundle, createDefaultPropertyBundle, delete, delete, determineResolvedObject, DYNReplaceCreator, DYNReplaceDeletor, DYNReplaceModifier, extendedPostDelete, extendedPostUndelete, extendedPostUpdate, extendedPreCopy, extendedPreDelete, extendedPreUndelete, forceSecuredObjectsToClear, freeIfNoFolderReferences, freeNonsharedAcl, freeNonsharedLockObject, getAcl, getAllFolderPaths, getAllFolderPaths, getAllFolderPaths, getAllFolderPaths, getAllLeftRelationships, getAllRightRelationships, getAnyFolderPath, getAnyFolderPath, getAnyFolderPath, getAnyFolderPath, getAuditEventFolderContext, getCategories, getCategories, getCategories, getCategory, getConsumedStorage, getDefaultAclFromUserProfile, getFamily, getFlags, getLeftRelationships, getLeftwardRelationshipDatas, getLeftwardRelationshipDatas, getLeftwardRelationshipObjectDatas, getLeftwardRelationshipObjectDatas, getLeftwardRelationshipObjects, getLeftwardRelationshipObjects, getLeftwardRelationships, getLeftwardRelationships, getLeftwardRelationshipsCount, getLeftwardRelationshipsCount, getLinkIds, getLinks, getLockedForSessionId, getLockEntries, getLockObject, getLockRestrictions, getOwner, getPrimaryParentFolder, getPropagatedSecurityAttributeNames, getPropagatedSecurityColumnNames, getReferencingFolderIds, getReferencingFolders, getResolvedObject, getRightRelationships, getRightwardRelationshipDatas, getRightwardRelationshipDatas, getRightwardRelationshipObjectDatas, getRightwardRelationshipObjectDatas, getRightwardRelationshipObjects, getRightwardRelationshipObjects, getRightwardRelationships, getRightwardRelationships, getSpecificLeftRelationships, getSpecificRightRelationships, getVersionDescriptions, handleCascade, handleExtendedFreePolicy, hasNameAttribute, invokeLockingPolicy, isAuditCertificateSecured, isDeleted, isLocked, isLockedForSession, isLockedForSessionByCurrentSession, isLockObjectEnabled, isLockObjectEnabled, isOwner, isVersionable, postCreateAddToFolder, postDelete, postSecurityChangeAuditEvent, postUndelete, postUpdateAddToFolder, preDelete, preUndelete, propagateFreeIfNoFolderReferences, propagateNameChanges, propagateSecurityChanges, propogateSettingsToProxyService, putProperty, reassociateLinks, relationshipExists, removeRelationship, removeRelationship, removeRowFromAclProxyIfSecured, resolveACLSetting, resolveResolvedObject, resolveSecuredBySettings, signalLeftRelationshipFreed, signalRightRelationshipFreed, undelete, undelete, unlockForSession, updateFamily, updateFlags, updateLastModifiedInfo, updatePrimaryParentFolder, vectorToSPublicObjectArray, verifyCanAddRelationship, verifyCanRemoveRelationship, verifyCanSetPolicy, verifyCanUnlock, verifyCanUpdatePublicObject, verifyCanUseContentQuota, verifyGrantAccess, verifyObjectNotLocked, verifyObjectNotLocked, verifyPublicObjectPermissionadded, applyValueDefault, associatedPostFree, associatedPostInsert, associatedPreInsert, canPurge, cascadeUpdate, checkRequiredForInsert, checkSettable, clearArrayTypeAttributeValues, clearMapTypeAttributeValues, clonePublicObjectAttribute, constructIdArray, constructIdArray, copy, copy, copyVectorToLibraryObjectArray, createDefaultPropertyBundle, createInstance, deleteRows, deriveOwnerUniqueName, deriveOwnerUniqueName, deriveUppercasedAttribute, determineClassDomain, determinePolicy, determinePolicy, determineValueDefault, determineValueDomain, dispose, DYNInvalidateState, DYNLockRows, equals, equals, executePolicyOperation, findPolicyFromPropertyBundleAv, free, free, getAttribute, getAttributeByUpperCaseName, getAuditCertificateName, getAuditDomainContext, getAuditDomainContextFolder, getClassData, getClassId, getClassName, getClassObject, getContentStorageManager, getData, getDefinition, getEffectivePolicyActionContexts, getEffectivePolicyListElements, getEventualAttributeByUpperCaseName, getId, getLibraryConnection, getName, getObjectReferenceAttribute, getPropertyBundle, getPropertyValue, getResourceString, getResourceString, getService, getSession, getSessionInterface, getTraceLogger, handleEvent, hashCode, insertReferenceAttributes, insertRow, insertRows, invalidateState, invokeOperation, invokePolicyMethod, isBroadcastCreateEventEnabled, isInstanceOf, isPersistent, issueCascade, isTraced, lockRows, postEvent, postEvent, postEvent, postFree, postInsert, postUpdate, preFree, preInsert, preUpdate, privilegedUpdate, removed, renderAsReader, renderAsStream, setAttribute, setAttribute, setAttributes, toString, trace, update, updateRows, validateStringArray, verifyCanGetContent, verifyCanSetContent, verifyPersistent, verifyWriteableTransactionInProgressclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAttributeByUpperCaseName, getClassId, getId, getSessionInterfacegetTraceLogger, isTraced, tracepublic static final String CLASS_NAME
protected S_DirectoryUser(S_LibrarySession session, S_LibraryObjectData data) throws IfsException
session - current LibrarySessiondata - Data componentIfsException - if the operation fails.protected S_DirectoryUser(S_LibrarySession session, Long classId) throws IfsException
This variant is used for objects that have not been created in the database yet.
session - current LibrarySessionIfsException - if the operation fails.protected void deriveDefinition(S_LibraryObjectDefinition def) throws IfsException
This is called by getDefinition() on S_LibraryObject. It must call super.deriveDefinition() before applying any class-specific changes to the S_LibraryObjectDefinition object.
deriveDefinition in class S_PublicObjectdef - the S_LibraryObjectDefinition that contains the definition 
 of the target object.IfsException - if operation fails.protected void extendedPreUpdate(OperationState opState, S_LibraryObjectDefinition def) throws IfsException
extendedPreUpdate in class S_PublicObjectopState - current state of the operationdef - current object definition to be updatedIfsException - if the operation fails.protected void extendedPreInsert(OperationState opState, S_LibraryObjectDefinition def) throws IfsException
extendedPreInsert in class S_PublicObjectopState - current operation statedef - current object definition to be updatedIfsException - if operation fails.protected void extendedPreFree(OperationState opState, S_LibraryObjectDefinition def) throws IfsException
This is overridden by classes that need to perform operations after successfully deleting the rows for the freed instance.
extendedPreFree in class S_DirectoryObjectopState - current operation statedef - current object definition to be 
            updated with system attributesIfsException - if operation fails.protected Long[] getAllAncestorIds() throws IfsException
getAllAncestorIds in class S_DirectoryObjectIfsException - if the operation fails.protected void verifyCanCreate(S_LibraryObjectDefinition def) throws IfsException
verifyCanCreate in class S_PublicObjectdef - the definitionIfsException - if the operation failsprotected void verifyCanFree()
                      throws IfsException
verifyCanFree in class S_PublicObjectIfsException - if the operation failsprotected void verifyCanUpdate()
                        throws IfsException
verifyCanUpdate in class S_LibraryObjectIfsException - if the operation failsprotected void verifyCanLock()
                      throws IfsException
verifyCanLock in class S_PublicObjectIfsException - if the operation failsprotected boolean canUseContentQuota(S_ContentQuota quota) throws IfsException
canUseContentQuota in class S_PublicObjectIfsException - if the operation failspublic boolean isUserInDirectoryService()
                                 throws IfsException
IfsException - if operation fails.public boolean isSharedAccount()
                        throws IfsException
This is used to make several determinations, such as whether or not the password can be changed by one of these people, and whether or not Document read indication is kept for this account.
IfsException - if operation fails.public boolean isReadIndicationEnabled()
                                throws IfsException
IfsException - if operation fails.protected boolean getAdminEnabled()
                           throws IfsException
IfsException - if operation fails.protected boolean getSystemAdminEnabled()
                                 throws IfsException
IfsException - if operation fails.public S_PrimaryUserProfile getPrimaryUserProfile() throws IfsException
IfsException - if the operation failsprotected S_PrimaryUserProfile fetchPrimaryUserProfile() throws IfsException
IfsException - if the operation failspublic long getAuditEventCreator()
                          throws IfsException
Should be the representative user; may be overridden in the Tie class to derive a desirable representative value.
IfsException - if operation fails.public long getAuditEventSessionUser()
                              throws IfsException
Should be this user, unless the session is being impersonated, it which case it should be the original user.
IfsException - if operation fails.public Serializable DYNisUserInDirectoryService(Serializable payload) throws IfsException
IfsException - if operation fails.Copyright © 2025. All rights reserved.