Class: WMI::Win32_NetworkLoginProfile
- Inherits:
-
Base
- Object
- Base
- WMI::Win32_NetworkLoginProfile
- Defined in:
- lib/Win32_NetworkLoginProfile.rb
Overview
Win32_NetworkLoginProfile クラスは、Win32 システムの特定のユーザーに関するネットワーク ログイン情報を表します。これには、パスワードの状態、特権、ディスク クォータ、ログイン ディレクトリ パスが含まれますが、限定はされません。
Instance Attribute Summary (collapse)
-
- (datetime) AccountExpires
readonly
AccountExpires プロパティにより、アカウントの有効期限が指定されます。.
-
- (uint32) AuthorizationFlags
readonly
AuthorizationFlags プロパティには、ユーザーが使用または変更する権限があるリソースを指定するフラグが含まれています。.
-
- (uint32) BadPasswordCount
readonly
BadPasswordCount プロパティは、ユーザーが Win32 システムにログオンするときに間違ったパスワードを入力した回数を示します。.
-
- (string) Caption
readonly
CIM_Setting オブジェクトの簡単な説明 (1 行分の文字列) です。.
-
- (uint32) CodePage
readonly
CodePage プロパティにより、ユーザーが選択した言語のコード ページが指定されます。.
-
- (string) Comment
readonly
Comment プロパティには、このログオン プロファイルのコメントまたは説明が含まれています。.
-
- (uint32) CountryCode
readonly
CountryCode プロパティにより、ユーザーが選択した言語の国/地域コードが指定されます。.
-
- (string) Description
readonly
CIM_Setting オブジェクトの説明です。.
-
- (uint32) Flags
readonly
Flags プロパティは、このネットワークプロファイルが利用できるプロパティを示します。.
-
- (string) FullName
readonly
FullName プロパティは、ネットワーク ログイン プロファイルに属しているユーザーのフル ネームを表します。.
-
- (string) HomeDirectory
readonly
HomeDirectory プロパティにより、ユーザーのホーム ディレクトリへのパスが指定されます。.
-
- (string) HomeDirectoryDrive
readonly
HomeDirectoryDrive プロパティにより、ログオンのためにユーザーのホーム ディレクトリに割り当てられたドライブ文字が指定されます。.
-
- (datetime) LastLogoff
readonly
LastLogoff プロパティにより、ユーザーがシステムから前回ログオフした日時が指定されます。.
-
- (datetime) LastLogon
readonly
LastLogon プロパティは、ユーザーがシステムに前回ログオンした日時を示します。.
-
- (string) LogonHours
readonly
LogonHours プロパティにより、ユーザーがログオンできる週の時刻が指定されます。.
-
- (string) LogonServer
readonly
LogonServer プロパティには、ログオン要求が送信されるサーバーの名前が含まれています。.
-
- (uint64) MaximumStorage
readonly
MaximumStorage プロパティにより、ユーザーが利用できるディスクの最大容量が指定されます。.
-
- (string) Name
readonly
Name プロパティにより、特定のドメインまたはコンピュータ上のユーザー アカウント名が指定されます。.
-
- (uint32) NumberOfLogons
readonly
NumberOfLogons プロパティは、ユーザーがこのアカウントにログオンしようとして成功した回数を示します。.
-
- (string) Parameters
readonly
Parameters プロパティには、アプリケーションに使用するために除外される領域のセットが含まれています。.
-
- (datetime) PasswordAge
readonly
PasswordAge プロパティは、パスワードが有効な期限を示します。.
-
- (datetime) PasswordExpires
readonly
PasswordExpires プロパティは、パスワードの有効期限が切れる日時を示します。.
-
- (uint32) PrimaryGroupId
readonly
PrimaryGroupId プロパティにより、このユーザーに対するプライマリ グローバル グループの相対 ID (RID) が指定されます。.
-
- (uint32) Privileges
readonly
特権プロパティにより、usri3_name プロパティに割り当てられた特権のレベルが指定されます。.
-
- (string) Profile
readonly
Profile プロパティにより、ユーザー プロファイルへのディレクトリ パスが指定されます。.
-
- (string) ScriptPath
readonly
ScriptPath プロパティは、ユーザーのログオン スクリプトへのディレクトリ パスを示します。.
-
- (string) SettingID
readonly
CIM_Setting オブジェクトを認識する識別子です。.
-
- (uint32) UnitsPerWeek
readonly
UnitsPerWeek プロパティは、週が分割される時間の単位数を示します。.
-
- (string) UserComment
readonly
UserComment プロパティには、ユーザーが定義したこのプロファイルのコメントまたは説明が含まれています。.
-
- (uint32) UserId
readonly
UserId プロパティにより、ユーザーの相対 ID (RID) が指定されます。.
-
- (string) UserType
readonly
UserType プロパティは、ユーザーに特権があるアカウントの種類を示します。.
-
- (string) Workstations
readonly
Workstations プロパティには、ユーザーがログオンできるワークステーションの名前が含まれています。.
Method Summary
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
- (datetime) AccountExpires (readonly)
AccountExpires プロパティにより、アカウントの有効期限が指定されます。
10 11 12 |
# File 'lib/Win32_NetworkLoginProfile.rb', line 10 def AccountExpires @AccountExpires end |
- (uint32) AuthorizationFlags (readonly)
AuthorizationFlags プロパティには、ユーザーが使用または変更する権限があるリソースを指定するフラグが含まれています。
15 16 17 |
# File 'lib/Win32_NetworkLoginProfile.rb', line 15 def AuthorizationFlags @AuthorizationFlags end |
- (uint32) BadPasswordCount (readonly)
BadPasswordCount プロパティは、ユーザーが Win32 システムにログオンするときに間違ったパスワードを入力した回数を示します。
22 23 24 |
# File 'lib/Win32_NetworkLoginProfile.rb', line 22 def BadPasswordCount @BadPasswordCount end |
- (string) Caption (readonly)
CIM_Setting オブジェクトの簡単な説明 (1 行分の文字列) です。
27 28 29 |
# File 'lib/Win32_NetworkLoginProfile.rb', line 27 def Caption @Caption end |
- (uint32) CodePage (readonly)
CodePage プロパティにより、ユーザーが選択した言語のコード ページが指定されます。
33 34 35 |
# File 'lib/Win32_NetworkLoginProfile.rb', line 33 def CodePage @CodePage end |
- (string) Comment (readonly)
Comment プロパティには、このログオン プロファイルのコメントまたは説明が含まれています。
38 39 40 |
# File 'lib/Win32_NetworkLoginProfile.rb', line 38 def Comment @Comment end |
- (uint32) CountryCode (readonly)
CountryCode プロパティにより、ユーザーが選択した言語の国/地域コードが指定されます。
43 44 45 |
# File 'lib/Win32_NetworkLoginProfile.rb', line 43 def CountryCode @CountryCode end |
- (string) Description (readonly)
CIM_Setting オブジェクトの説明です。
48 49 50 |
# File 'lib/Win32_NetworkLoginProfile.rb', line 48 def Description @Description end |
- (uint32) Flags (readonly)
Flags プロパティは、このネットワークプロファイルが利用できるプロパティを示します。
100 101 102 |
# File 'lib/Win32_NetworkLoginProfile.rb', line 100 def Flags @Flags end |
- (string) FullName (readonly)
FullName プロパティは、ネットワーク ログイン プロファイルに属しているユーザーのフル ネームを表します。
106 107 108 |
# File 'lib/Win32_NetworkLoginProfile.rb', line 106 def FullName @FullName end |
- (string) HomeDirectory (readonly)
HomeDirectory プロパティにより、ユーザーのホーム ディレクトリへのパスが指定されます。
114 115 116 |
# File 'lib/Win32_NetworkLoginProfile.rb', line 114 def HomeDirectory @HomeDirectory end |
- (string) HomeDirectoryDrive (readonly)
HomeDirectoryDrive プロパティにより、ログオンのためにユーザーのホーム ディレクトリに割り当てられたドライブ文字が指定されます。
121 122 123 |
# File 'lib/Win32_NetworkLoginProfile.rb', line 121 def HomeDirectoryDrive @HomeDirectoryDrive end |
- (datetime) LastLogoff (readonly)
LastLogoff プロパティにより、ユーザーがシステムから前回ログオフした日時が指定されます。
131 132 133 |
# File 'lib/Win32_NetworkLoginProfile.rb', line 131 def LastLogoff @LastLogoff end |
- (datetime) LastLogon (readonly)
LastLogon プロパティは、ユーザーがシステムに前回ログオンした日時を示します。
140 141 142 |
# File 'lib/Win32_NetworkLoginProfile.rb', line 140 def LastLogon @LastLogon end |
- (string) LogonHours (readonly)
LogonHours プロパティにより、ユーザーがログオンできる週の時刻が指定されます。
149 150 151 |
# File 'lib/Win32_NetworkLoginProfile.rb', line 149 def LogonHours @LogonHours end |
- (string) LogonServer (readonly)
LogonServer プロパティには、ログオン要求が送信されるサーバーの名前が含まれています。
159 160 161 |
# File 'lib/Win32_NetworkLoginProfile.rb', line 159 def LogonServer @LogonServer end |
- (uint64) MaximumStorage (readonly)
MaximumStorage プロパティにより、ユーザーが利用できるディスクの最大容量が指定されます。
MaximumStorage
167 168 169 |
# File 'lib/Win32_NetworkLoginProfile.rb', line 167 def MaximumStorage @MaximumStorage end |
- (string) Name (readonly)
Name プロパティにより、特定のドメインまたはコンピュータ上のユーザー アカウント名が指定されます。
175 176 177 |
# File 'lib/Win32_NetworkLoginProfile.rb', line 175 def Name @Name end |
- (uint32) NumberOfLogons (readonly)
NumberOfLogons プロパティは、ユーザーがこのアカウントにログオンしようとして成功した回数を示します。
185 186 187 |
# File 'lib/Win32_NetworkLoginProfile.rb', line 185 def NumberOfLogons @NumberOfLogons end |
- (string) Parameters (readonly)
Parameters プロパティには、アプリケーションに使用するために除外される領域のセットが含まれています。
193 194 195 |
# File 'lib/Win32_NetworkLoginProfile.rb', line 193 def Parameters @Parameters end |
- (datetime) PasswordAge (readonly)
PasswordAge プロパティは、パスワードが有効な期限を示します。
201 202 203 |
# File 'lib/Win32_NetworkLoginProfile.rb', line 201 def PasswordAge @PasswordAge end |
- (datetime) PasswordExpires (readonly)
PasswordExpires プロパティは、パスワードの有効期限が切れる日時を示します。
208 209 210 |
# File 'lib/Win32_NetworkLoginProfile.rb', line 208 def PasswordExpires @PasswordExpires end |
- (uint32) PrimaryGroupId (readonly)
PrimaryGroupId プロパティにより、このユーザーに対するプライマリ グローバル グループの相対 ID (RID) が指定されます。
214 215 216 |
# File 'lib/Win32_NetworkLoginProfile.rb', line 214 def PrimaryGroupId @PrimaryGroupId end |
- (uint32) Privileges (readonly)
特権プロパティにより、usri3_name プロパティに割り当てられた特権のレベルが指定されます。
219 220 221 |
# File 'lib/Win32_NetworkLoginProfile.rb', line 219 def Privileges @Privileges end |
- (string) Profile (readonly)
Profile プロパティにより、ユーザー プロファイルへのディレクトリ パスが指定されます。
228 229 230 |
# File 'lib/Win32_NetworkLoginProfile.rb', line 228 def Profile @Profile end |
- (string) ScriptPath (readonly)
ScriptPath プロパティは、ユーザーのログオン スクリプトへのディレクトリ パスを示します。
236 237 238 |
# File 'lib/Win32_NetworkLoginProfile.rb', line 236 def ScriptPath @ScriptPath end |
- (string) SettingID (readonly)
CIM_Setting オブジェクトを認識する識別子です。
241 242 243 |
# File 'lib/Win32_NetworkLoginProfile.rb', line 241 def SettingID @SettingID end |
- (uint32) UnitsPerWeek (readonly)
UnitsPerWeek プロパティは、週が分割される時間の単位数を示します。
249 250 251 |
# File 'lib/Win32_NetworkLoginProfile.rb', line 249 def UnitsPerWeek @UnitsPerWeek end |
- (string) UserComment (readonly)
UserComment プロパティには、ユーザーが定義したこのプロファイルのコメントまたは説明が含まれています。
254 255 256 |
# File 'lib/Win32_NetworkLoginProfile.rb', line 254 def UserComment @UserComment end |
- (uint32) UserId (readonly)
UserId プロパティにより、ユーザーの相対 ID (RID) が指定されます。
260 261 262 |
# File 'lib/Win32_NetworkLoginProfile.rb', line 260 def UserId @UserId end |
- (string) UserType (readonly)
UserType プロパティは、ユーザーに特権があるアカウントの種類を示します。
265 266 267 |
# File 'lib/Win32_NetworkLoginProfile.rb', line 265 def UserType @UserType end |
- (string) Workstations (readonly)
Workstations プロパティには、ユーザーがログオンできるワークステーションの名前が含まれています。
8
273 274 275 |
# File 'lib/Win32_NetworkLoginProfile.rb', line 273 def Workstations @Workstations end |