Class: WMI::Win32_UserAccount
Overview
Win32_UserAccount クラスには、Win32 システムのユーザー アカウントに関する情報が含まれています。
Instance Attribute Summary (collapse)
-
- (uint32) AccountType
readonly
AccountType プロパティには、Win32 ユーザー アカウントの特徴を記述するフラグが含まれています:.
-
- (string) Caption
readonly
Caption プロパティは、オブジェクトについての簡単な説明 (1 行分の文字列) です。.
-
- (string) Description
readonly
Description プロパティでオブジェクトの説明が提供されます。.
-
- (boolean) Disabled
Disabled プロパティにより、Win32 ユーザー アカウントが無効になっているかどうかが判別されます。.
-
- (string) Domain
readonly
Domain プロパティは、ユーザー アカウントが属している Windows ドメインの名前を示します。.
-
- (string) FullName
FullName プロパティは、ローカル ユーザーのフル ネームを表します。.
-
- (datetime) InstallDate
readonly
InstallDate プロパティは、オブジェクトがインストールされた日時を示す値です。.
-
- (boolean) Lockout
Lockout プロパティにより、ユーザー アカウントが Win32 システムでロックアウトされているかどうかが判別されます。.
-
- (string) Name
readonly
Name プロパティは、このクラスのドメイン メンバによって指定されたドメインの Win32 ユーザー アカウントの名前を示します。.
-
- (boolean) PasswordChangeable
PasswordChangeable プロパティにより、Win32 ユーザー アカウントのパスワードが変更されるかどうかが決定されます。.
-
- (boolean) PasswordExpires
PasswordExpires プロパティにより、Win32 ユーザー アカウントのパスワードが有効期限切れになるかどうかが決定されます。.
-
- (boolean) PasswordRequired
PasswordRequired プロパティにより、パスワードが Win32 ユーザー アカウントで必要となるかどうかが決定されます。.
-
- (string) SID
readonly
SID プロパティには、このアカウントのセキュリティ識別子 (SID) が含まれています。.
-
- (uint8) SIDType
readonly
SIDType プロパティには、セキュリティ識別子 (SID) が指定される列挙された値が含まれています。.
-
- (string) Status
readonly
Status プロパティはオブジェクトの現在の状態を示す文字列です。.
Instance Method Summary (collapse)
-
- (uint32) Rename(Name)
Rename() により、ユーザー アカウント名を変更することができます; このクラスでのキーです。 キー プロパティを変更する機能 "Name" は、このクラスで変更されるインスタンスと関連付けられているキー名とは区別できる、新しい名前の別のコンテキストを提供するメソッドとして実装されています。.
Methods inherited from Base
#AddRef, #AssociatorsAsync_, #Associators_, #Clone_, #CompareTo_, #DeleteAsync_, #Delete_, #Derivation_, #ExecMethodAsync_, #ExecMethod_, #GetIDsOfNames, #GetObjectText_, #GetText_, #GetTypeInfo, #GetTypeInfoCount, #InstancesAsync_, #Instances_, #Invoke, #Methods_, #Path_, #Properties_, #PutAsync_, #Put_, #Qualifiers_, #QueryInterface, #ReferencesAsync_, #References_, #Refresh_, #Release, #Security_, #SetFromText_, #SpawnDerivedClass_, #SpawnInstance_, #SubclassesAsync_, #Subclasses_, #SystemProperties_
Instance Attribute Details
- (uint32) AccountType (readonly)
AccountType プロパティには、Win32 ユーザー アカウントの特徴を記述するフラグが含まれています:
UF_TEMP_DUPLICATE_ACCOUNT -
28 29 30 |
# File 'lib/Win32_UserAccount.rb', line 28 def AccountType @AccountType end |
- (string) Caption (readonly)
Caption プロパティは、オブジェクトについての簡単な説明 (1 行分の文字列) です。
33 34 35 |
# File 'lib/Win32_UserAccount.rb', line 33 def Caption @Caption end |
- (string) Description (readonly)
Description プロパティでオブジェクトの説明が提供されます。
39 40 41 |
# File 'lib/Win32_UserAccount.rb', line 39 def Description @Description end |
- (boolean) Disabled
Disabled プロパティにより、Win32 ユーザー アカウントが無効になっているかどうかが判別されます。
47 48 49 |
# File 'lib/Win32_UserAccount.rb', line 47 def Disabled @Disabled end |
- (string) Domain (readonly)
Domain プロパティは、ユーザー アカウントが属している Windows ドメインの名前を示します。
54 55 56 |
# File 'lib/Win32_UserAccount.rb', line 54 def Domain @Domain end |
- (string) FullName
FullName プロパティは、ローカル ユーザーのフル ネームを表します。
61 62 63 |
# File 'lib/Win32_UserAccount.rb', line 61 def FullName @FullName end |
- (datetime) InstallDate (readonly)
InstallDate プロパティは、オブジェクトがインストールされた日時を示す値です。
67 68 69 |
# File 'lib/Win32_UserAccount.rb', line 67 def InstallDate @InstallDate end |
- (boolean) Lockout
Lockout プロパティにより、ユーザー アカウントが Win32 システムでロックアウトされているかどうかが判別されます。
81 82 83 |
# File 'lib/Win32_UserAccount.rb', line 81 def Lockout @Lockout end |
- (string) Name (readonly)
Name プロパティは、このクラスのドメイン メンバによって指定されたドメインの Win32 ユーザー アカウントの名前を示します。
88 89 90 |
# File 'lib/Win32_UserAccount.rb', line 88 def Name @Name end |
- (boolean) PasswordChangeable
PasswordChangeable プロパティにより、Win32 ユーザー アカウントのパスワードが変更されるかどうかが決定されます。
96 97 98 |
# File 'lib/Win32_UserAccount.rb', line 96 def PasswordChangeable @PasswordChangeable end |
- (boolean) PasswordExpires
PasswordExpires プロパティにより、Win32 ユーザー アカウントのパスワードが有効期限切れになるかどうかが決定されます。
104 105 106 |
# File 'lib/Win32_UserAccount.rb', line 104 def PasswordExpires @PasswordExpires end |
- (boolean) PasswordRequired
PasswordRequired プロパティにより、パスワードが Win32 ユーザー アカウントで必要となるかどうかが決定されます。
112 113 114 |
# File 'lib/Win32_UserAccount.rb', line 112 def PasswordRequired @PasswordRequired end |
- (string) SID (readonly)
SID プロパティには、このアカウントのセキュリティ識別子 (SID) が含まれています。
SID
122 123 124 |
# File 'lib/Win32_UserAccount.rb', line 122 def SID @SID end |
- (uint8) SIDType (readonly)
SIDType プロパティには、セキュリティ識別子 (SID) が指定される列挙された値が含まれています。
SIDType
146 147 148 |
# File 'lib/Win32_UserAccount.rb', line 146 def SIDType @SIDType end |
- (string) Status (readonly)
Status プロパティはオブジェクトの現在の状態を示す文字列です。
159 160 161 |
# File 'lib/Win32_UserAccount.rb', line 159 def Status @Status end |
Instance Method Details
- (uint32) Rename(Name)
Rename() により、ユーザー アカウント名を変更することができます; このクラスでのキーです。 キー プロパティを変更する機能 "Name" は、このクラスで変更されるインスタンスと関連付けられているキー名とは区別できる、新しい名前の別のコンテキストを提供するメソッドとして実装されています。
12 13 |
# File 'lib/Win32_UserAccount.rb', line 12 def Rename Name end |