|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.connector.NT4UserMetaDataConnector.UserInfo
public class UserInfo
The UserInfo class represents Windows User's data structure and capsulates methods that import and export that data to an Entry object.
Constructor Summary | |
---|---|
|
UserInfo()
Default constructor. |
protected |
UserInfo(Entry aUserEntry)
Constructs the UserInfo object and populates its members with User data from the given Entry parameter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int LOGON_HOURS_ARRAY_LENGTH
public static final Integer DEFAULT_FLAGS_VALUE
public static final Date ACC_NEVER_EXPIRES
public static final String USER_ATTR_USER_NAME
public static final String USER_ATTR_ACCOUNT_COMMENT
public static final String USER_ATTR_FULL_NAME
public static final String USER_ATTR_USER_COMMENT
public static final String USER_ATTR_PASSWORD
public static final String USER_ATTR_PASSWORD_AGE
public static final String USER_ATTR_PRIVILEGE_LEVEL
public static final String USER_ATTR_HOME_DIRECTORY
public static final String USER_ATTR_FLAGS
public static final String USER_ATTR_SCRIPTH_PATH
public static final String USER_ATTR_AUTH_FLAGS
public static final String USER_ATTR_APPLICATIONS_PARAMS
public static final String USER_ATTR_LOGON_WORKSTATIONS
public static final String USER_ATTR_LAST_LOGON
public static final String USER_ATTR_LAST_LOGOFF
public static final String USER_ATTR_ACCOUNT_EXP_DATE
public static final String USER_ATTR_MAX_ACC_DISK_SPACE
public static final String USER_ATTR_UNITS_PER_WEEK
public static final String USER_ATTR_LOGON_HOURS
public static final String USER_ATTR_BAD_PASSWORD_CNT
public static final String USER_ATTR_LOGONS_NUM
public static final String USER_ATTR_LOGON_SERVER
public static final String USER_ATTR_COUNTRY_CODE
public static final String USER_ATTR_CODE_PAGE
public static final String USER_ATTR_RELATIVE_USER_ID
public static final String USER_ATTR_PRIMARY_GROUP_ID
public static final String USER_ATTR_PROFILE_PATH
public static final String USER_ATTR_HOME_DIRECTORY_DRIVE
public static final String USER_ATTR_PASSWORD_EXPIRED
public static final String USER_ATTR_LOCAL_GROUPS
public static final String USER_ATTR_GLOBAL_GROUPS
public static final String USER_ATTR_PRIMARY_GROUP
Constructor Detail |
---|
public UserInfo()
protected UserInfo(Entry aUserEntry)
aUserEntry
- The User Entry object containing data to initialize the new
UserInfo object with.Method Detail |
---|
public String getUserName()
public String getAccountComment()
public String getFullName()
public String getUserComment()
public String getPassword()
public Long getPasswordAge()
public Integer getPrivilegeLevel()
public String getHomeDirectory()
public Integer getFlags()
public String getScriptPath()
public Integer getAuthFlags()
public String getApplicationsParams()
public String getLogonWorkstations()
public Date getLastLogon()
public Date getLastLogoff()
public Date getAccountExpDate()
public Long getMaxAccDiskSpace()
public Integer getUnitsPerWeek()
public byte[] getLogonHours()
public Integer getBadPasswordCnt()
public Integer getLogonsNum()
public String getLogonServer()
public Integer getCountryCode()
public Integer getCodePage()
public Integer getRelativeUserID()
public Integer getPrimaryGroupID()
public String getProfilePath()
public String getHomeDirectoryDrive()
public Integer getPasswordExpired()
public String getPrimaryGroup()
public void setUserName(String aUserName)
public void setAccountComment(String aAccountComment)
public void setFullName(String aFullName)
public void setUserComment(String aUserComment)
public void setPassword(String aPassword)
public void setPasswordAge(Long aPasswordAge)
public void setPrivilegeLevel(Integer aPrivilegeLevel)
public void setHomeDirectory(String aHomeDirectory)
public void setFlags(Integer aFlags)
public void setScriptPath(String aScriptParh)
public void setAuthFlags(Integer aAuthFlags)
public void setApplicationsParams(String aApplicationsParams)
public void setLogonWorkstations(String aLogonWorkstations)
public void setLastLogon(Date aLastLogon)
public void setLastLogoff(Date aLastLogoff)
public void setAccountExpDate(Date aAccountExpDate)
public void setMaxAccDiskSpace(Long aMaxAccDiskSpace)
public void setUnitsPerWeek(Integer aUnitsPerWeek)
public void setLogonHours(byte[] aLogonHours)
public void setBadPasswordCnt(Integer aBadPasswordCnt)
public void setLogonsNum(Integer aLogonsNum)
public void setLogonServer(String aLogonServer)
public void setCountryCode(Integer aCountryCode)
public void setCodePage(Integer aCodePage)
public void setRelativeUserID(Integer aRelativeUserID)
public void setPrimaryGroupID(Integer aPrimaryGroupID)
public void setProfilePath(String aProfilePath)
public void setHomeDirectoryDrive(String aHomeDirectoryDrive)
public void setPasswordExpired(Integer aPasswordExpired)
public void setPrimaryGroup(String aPrimaryGroup)
protected void copyDataFromUserEntry(Entry aUserEntry)
aUserEntry
- The user entry to copy from.protected void completeUserData(UserInfo aUserInfo)
aUserInfo
- The UserInfo instance which data members' data will be copied.protected static void createAndAddUserBasicAttributes(Entry aUserEntry, UserInfo aUserInfo)
aUserEntry
- The entry object that is going to be populated with attributes.aUserInfo
- The UserInfo structure containing user's attributes values.protected static void createAndAddUserLocalGroupAttribute(Entry aUserEntry, Vector aGroupNames)
aUserEntry
- The entry object that the LocalGroup attribute will be added to.aGroupNames
- The vector containing the names of the user's local groups.protected static void createAndAddUserGlobalGroupAttribute(Entry aUserEntry, Vector aGroupNames)
aUserEntry
- The entry object that the GlobalGroup attribute will be added to.aGroupNames
- The vector containing the names of the user's global groups.protected static Vector queryUserSchema()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |