[[SoftwareEngineering/ProgramLanguage/ActiveDirectoryServiceInterfaces]]
#author("2021-11-26T08:58:54+09:00","","")
[[ソフトウェア開発>SoftwareEngineering]] / [[ActiveDirectory>ActiveDirectory]] / [[ActiveDirectoryServiceInterfaces>ActiveDirectory/ActiveDirectoryServiceInterfaces]] / Interface / [[IADsUser>./]]

*IADsUser [#z306c6e6]
[[MSDN>ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.WIN32COM.v10.en/adsi/adsi/iadsuser.htm]]

**Methods in Vtable Order [#vccbf7a8]
|名前|説明|h
|get_Name|Gets the object's relative name.|
|get_Class|Gets the name of the object's schema class.|
|get_GUID|Gets the GUID of the object as stored in the underlying directory store.|
|get_ADsPath|Gets the object's ADsPath that uniquely identifies this object from all others.|
|get_Parent|Gets the ADsPath string for the parent of the object.|
|get_Schema|Gets the ADsPath string to the schema class object for this object.|
|GetInfo|Loads the property values of this object from the underlying directory store.|
|SetInfo|Persists the changes on this object to the underlying directory store.|
|Get|Gets the value for a property by name.|
|Put|Sets the value for a property by name.|
|GetEx|Gets the value for a single or multi-valued property by name.|
|PutEx|Sets the value for a single or multi-valued property by name.|
|GetInfoEx|Loads specific property values of this object from the underlying directory store.|
|get_BadLoginAddress|Gets the address of the last node, considered an "Intruder".|
|get_BadLoginCount|Gets the number of the bad logon attempts since last reset.|
|get_LastLogin|Gets the date and time of the last network login.|
|get_LastLogoff|Gets the date and time of the last network logoff.|
|get_LastFailedLogin|Gets the date and time of the last failed network login.|
|get_PasswordLastChanged|Gets the date and time of the last password change.|
|get_Description|Gets and sets the description of the user account.|
|put_Description|Gets and sets the description of the user account.|
|get_Division|Gets and sets the division within a company (organization).|
|put_Division|Gets and sets the division within a company (organization).|
|get_Department|Gets and sets the organizational unit within the organization.|
|put_Department|Gets and sets the organizational unit within the organization.|
|get_EmployeeID|Gets and sets employee identification number of the user.|
|put_EmployeeID|Gets and sets employee identification number of the user.|
|get_FullName|Gets and sets the full name of the user.|
|put_FullName|Gets and sets the full name of the user.|
|get_FirstName|Gets and sets the first name of the user.|
|put_FirstName|Gets and sets the first name of the user.|
|get_LastName|Gets and sets the last name of the user.|
|put_LastName|Gets and sets the last name of the user.|
|get_OtherName|Gets and sets the additional name, such as the nickname, or the middle name of the user.|
|put_OtherName|Gets and sets the additional name, such as the nickname, or the middle name of the user.|
|get_NamePrefix|Gets and sets the name prefix, such as Mr., Ms., or Hon., of the user.|
|put_NamePrefix|Gets and sets the name prefix, such as Mr., Ms., or Hon., of the user.|
|get_NameSuffix|Gets and sets the name suffix, such as Jr. or III, of the user.|
|put_NameSuffix|Gets and sets the name suffix, such as Jr. or III, of the user.|
|get_Title|Gets and sets the user's title within the organization.|
|put_Title|Gets and sets the user's title within the organization.|
|get_Manager|Gets and sets the manager of the user.|
|put_Manager|Gets and sets the manager of the user.|
|get_TelephoneHome|Gets and sets the list of home phone numbers of the user. In Active Directory the list has a single element.|
|put_TelephoneHome|Gets and sets the list of home phone numbers of the user. In Active Directory the list has a single element.|
|get_TelephoneMobile|Gets and sets the list of mobile phone numbers of the user. In Active Directory the list has a single element.|
|put_TelephoneMobile|Gets and sets the list of mobile phone numbers of the user. In Active Directory the list has a single element.|
|get_TelephoneNumber|Gets and sets the list of work-related phone numbers. In Active Directory the list has a single element.|
|put_TelephoneNumber|Gets and sets the list of work-related phone numbers. In Active Directory the list has a single element.|
|get_TelephonePager|Gets and sets the list of pager phone numbers.|
|put_TelephonePager|Gets and sets the list of pager phone numbers.|
|get_FaxNumber|Gets and sets the list of fax phone numbers. In Active Directory the list has a single element.|
|put_FaxNumber|Gets and sets the list of fax phone numbers. In Active Directory the list has a single element.|
|get_OfficeLocations|Gets and sets the array of end-user locations. In Active Directory the array has a single element.|
|put_OfficeLocations|Gets and sets the array of end-user locations. In Active Directory the array has a single element.|
|get_PostalAddresses|Gets and sets the array of end-user post office addresses.|
|put_PostalAddresses|Gets and sets the array of end-user post office addresses.|
|get_PostalCodes|Gets and sets the array of postal codes for the Postal Addresses. In Active Directory the array has a single element.|
|put_PostalCodes|Gets and sets the array of postal codes for the Postal Addresses. In Active Directory the array has a single element.|
|get_SeeAlso|Gets and sets the array of ADsPaths of other objects related to this user.|
|put_SeeAlso|Gets and sets the array of ADsPaths of other objects related to this user.|
|get_AccountDisabled|Gets and sets the flag to indicate whether or not the account is disabled.|
|put_AccountDisabled|Gets and sets the flag to indicate whether or not the account is disabled.|
|get_AccountExpirationDate|Gets and sets the expiration date and time of the user.|
|put_AccountExpirationDate|Gets and sets the expiration date and time of the user.|
|get_GraceLoginsAllowed|Gets and sets the number of times user can log on after password has expired.|
|put_GraceLoginsAllowed|Gets and sets the number of times user can log on after password has expired.|
|get_GraceLoginsRemaining|Gets and sets the number of grace logins left before locking account.|
|put_GraceLoginsRemaining|Gets and sets the number of grace logins left before locking account.|
|get_IsAccountLocked|Gets and sets a flag to indicate whether or not an account is locked.|
|put_IsAccountLocked|Gets and sets a flag to indicate whether or not an account is locked.|
|get_LoginHours|Gets and sets the time periods during each day of week that indicate valid login periods.|
|put_LoginHours|Gets and sets the time periods during each day of week that indicate valid login periods.|
|get_LoginWorkstations|Gets and set the workstations and their net addresses for this end-user.|
|put_LoginWorkstations|Gets and set the workstations and their net addresses for this end-user.|
|get_MaxLogins|Gets and sets the maximum number of simultaneous logins.|
|put_MaxLogins|Gets and sets the maximum number of simultaneous logins.|
|get_MaxStorage|Gets and set the maximum amount of disk space alloted for the user.|
|put_MaxStorage|Gets and set the maximum amount of disk space alloted for the user.|
|get_PasswordExpirationDate|Gets and sets the date and time when password expires.|
|put_PasswordExpirationDate|Gets and sets the date and time when password expires.|
|get_PasswordMinimumLength|Gets and sets the minimum number of characters allowed in a password.|
|put_PasswordMinimumLength|Gets and sets the minimum number of characters allowed in a password.|
|get_PasswordRequired|Gets and sets a flag to indicate whether or not a password is required.|
|put_PasswordRequired|Gets and sets a flag to indicate whether or not a password is required.|
|get_RequireUniquePassword|Gets and sets a flag to indicate whether or not a new password must be different from ones in the password history list.|
|put_RequireUniquePassword|Gets and sets a flag to indicate whether or not a new password must be different from ones in the password history list.|
|get_EmailAddress|Gets and sets the e-mail address of the user.|
|put_EmailAddress|Gets and sets the e-mail address of the user.|
|get_HomeDirectory|Gets and sets the home directory of the user.|
|put_HomeDirectory|Gets and sets the home directory of the user.|
|get_Languages|Gets and sets the array of language names for the end-user.|
|put_Languages|Gets and sets the array of language names for the end-user.|
|get_Profile|Gets and sets the end-user's profile path.|
|put_Profile|Gets and sets the end-user's profile path.|
|get_LoginScript|Gets and sets the end-user's login script path.|
|put_LoginScript|Gets and sets the end-user's login script path.|
|get_Picture|Gets and sets the picture of the user.|
|put_Picture|Gets and sets the picture of the user.|
|get_HomePage|Gets and sets the URL to the home page of the user.|
|put_HomePage|Gets and sets the URL to the home page of the user.|
|Groups|Determines the groups to which this end-user belongs.|
|SetPassword|Sets the password.|
|ChangePassword|Changes password from the specified existing value to a new value.|

**Properties [#he0f6f9f]
|名前|説明|h
|AccountDisabled|Gets and sets the flag to indicate whether or not the account is disabled.|
|AccountExpirationDate|Gets and sets the expiration date and time of the user.|
|AdsPath|Gets the object's ADsPath that uniquely identifies this object from all others.|
|BadLoginAddress|Gets the address of the last node, considered an "Intruder".|
|BadLoginCount|Gets the number of the bad logon attempts since last reset.|
|Class|Gets the name of the object's schema class.|
|Department|部署&br;Gets and sets the organizational unit within the organization.|
|Description|説明&br;Gets and sets the description of the user account.|
|Division|Gets and sets the division within a company (organization).|
|EmailAddress|Gets and sets the e-mail address of the user.|
|EmployeeID|Gets and sets employee identification number of the user.|
|FaxNumber|FAX&br;Gets and sets the list of fax phone numbers. In Active Directory the list has a single element.|
|FirstName|Gets and sets the first name of the user.|
|FullName|Gets and sets the full name of the user.|
|GraceLoginsAllowed|Gets and sets the number of times user can log on after password has expired.|
|GraceLoginsRemaining|Gets and sets the number of grace logins left before locking account.|
|GUID|Gets the GUID of the object as stored in the underlying directory store.|
|HomeDirectory|Gets and sets the home directory of the user.|
|HomePage|Web ページ&br;Gets and sets the URL to the home page of the user.|
|IsAccountLocked|Gets and sets a flag to indicate whether or not an account is locked.|
|Languages|Gets and sets the array of language names for the end-user.|
|LastFailedLogin|Gets the date and time of the last failed network login.|
|LastLogin|Gets the date and time of the last network login.|
|LastLogoff|Gets the date and time of the last network logoff.|
|LastName|Gets and sets the last name of the user.|
|LoginHours|Gets and sets the time periods during each day of week that indicate valid login periods.|
|LoginScript|Gets and sets the end-user's login script path.|
|LoginWorkstations|Gets and set the workstations and their net addresses for this end-user.|
|Manager|Gets and sets the manager of the user.|
|MaxLogins|Gets and sets the maximum number of simultaneous logins.|
|MaxStorage|Gets and set the maximum amount of disk space alloted for the user.|
|Name|Gets the object's relative name.|
|NamePrefix|Gets and sets the name prefix, such as Mr., Ms., or Hon., of the user.|
|NameSuffix|Gets and sets the name suffix, such as Jr. or III, of the user.|
|OfficeLocations|Gets and sets the array of end-user locations. In Active Directory the array has a single element.|
|OtherName|Gets and sets the additional name, such as the nickname, or the middle name of the user.|
|Parent|Gets the ADsPath string for the parent of the object.|
|PasswordExpirationDate|Gets and sets the date and time when password expires.|
|PasswordLastChanged|Gets the date and time of the last password change.|
|PasswordMinimumLength|Gets and sets the minimum number of characters allowed in a password.|
|PasswordRequired|Gets and sets a flag to indicate whether or not a password is required.|
|Picture|Gets and sets the picture of the user.|
|PostalAddresses|Gets and sets the array of end-user post office addresses.|
|PostalCodes|Gets and sets the array of postal codes for the Postal Addresses. In Active Directory the array has a single element.|
|Profile|Gets and sets the end-user's profile path.|
|RequireUniquePassword|Gets and sets a flag to indicate whether or not a new password must be different from ones in the password history list.|
|Schema|Gets the ADsPath string to the schema class object for this object.|
|SeeAlso|Gets and sets the array of ADsPaths of other objects related to this user.|
|TelephoneHome|自宅&br;Gets and sets the list of home phone numbers of the user. In Active Directory the list has a single element.|
|TelephoneMobile|携帯電話&br;Gets and sets the list of mobile phone numbers of the user. In Active Directory the list has a single element.|
|TelephoneNumber|電話番号&br;Gets and sets the list of work-related phone numbers. In Active Directory the list has a single element.|
|TelephonePager|ポケットベル&br;Gets and sets the list of pager phone numbers.|
|Title|役職&br;Gets and sets the user's title within the organization.|

**Remarks [#fc280b09]
-ドメインユーザーは以下のデフォルト値で作成されます。
|Property|Value|h
|Full Name|SAM Account Name (such as jeffsmith)|
|Password|Empty|
|User Must Change Password|TRUE|
|User Cannot Change Password|FALSE|
|Password Never Expires|FALSE|
|Account Disabled|FALSE|
|Group|Domain User|
|Profile|Empty|
|Account Never Expires|TRUE|

**Requirements [#lee8c282]
|Client|Requires Windows?XP or Windows?2000 Professional.|
|Server|Requires Windows Server?2003 or Windows?2000 Server.|
|Redistributable|Requires Active Directory Client Extension on Windows?NT 4.0 and Windows Me/98/95.|
|Header|Declared in Iads.h.|
|DLL|Requires Activeds.dll.|
|IID|IID_IADsUser is defined as 3E37E320-17E2-11CF-ABC4-02608C9E7553.|

トップ   差分 履歴 リロード   一覧 検索 最終更新   ヘルプ   最終更新のRSS