Class: WMI::Win32_NetworkLoginProfile

Inherits:
Base
  • Object
show all
Defined in:
lib/Win32_NetworkLoginProfile.rb

Overview

Win32_NetworkLoginProfile クラスは、Win32 システムの特定のユーザーに関するネットワーク ログイン情報を表します。これには、パスワードの状態、特権、ディスク クォータ、ログイン ディレクトリ パスが含まれますが、限定はされません。

Instance Attribute Summary (collapse)

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 プロパティにより、アカウントの有効期限が指定されます。

 

Returns:

  • (datetime)

    AccountExpires



10
11
12
# File 'lib/Win32_NetworkLoginProfile.rb', line 10

def AccountExpires
  @AccountExpires
end

- (uint32) AuthorizationFlags (readonly)

AuthorizationFlags プロパティには、ユーザーが使用または変更する権限があるリソースを指定するフラグが含まれています。

Returns:

  • (uint32)

    AuthorizationFlags



15
16
17
# File 'lib/Win32_NetworkLoginProfile.rb', line 15

def AuthorizationFlags
  @AuthorizationFlags
end

- (uint32) BadPasswordCount (readonly)

BadPasswordCount プロパティは、ユーザーが Win32 システムにログオンするときに間違ったパスワードを入力した回数を示します。

 

Returns:

  • (uint32)

    BadPasswordCount



22
23
24
# File 'lib/Win32_NetworkLoginProfile.rb', line 22

def BadPasswordCount
  @BadPasswordCount
end

- (string) Caption (readonly)

CIM_Setting オブジェクトの簡単な説明 (1 行分の文字列) です。

Returns:

  • (string)

    Caption



27
28
29
# File 'lib/Win32_NetworkLoginProfile.rb', line 27

def Caption
  @Caption
end

- (uint32) CodePage (readonly)

CodePage プロパティにより、ユーザーが選択した言語のコード ページが指定されます。

 

Returns:

  • (uint32)

    CodePage



33
34
35
# File 'lib/Win32_NetworkLoginProfile.rb', line 33

def CodePage
  @CodePage
end

- (string) Comment (readonly)

Comment プロパティには、このログオン プロファイルのコメントまたは説明が含まれています。

Returns:

  • (string)

    Comment



38
39
40
# File 'lib/Win32_NetworkLoginProfile.rb', line 38

def Comment
  @Comment
end

- (uint32) CountryCode (readonly)

CountryCode プロパティにより、ユーザーが選択した言語の国/地域コードが指定されます。

Returns:

  • (uint32)

    CountryCode



43
44
45
# File 'lib/Win32_NetworkLoginProfile.rb', line 43

def CountryCode
  @CountryCode
end

- (string) Description (readonly)

CIM_Setting オブジェクトの説明です。

Returns:

  • (string)

    Description



48
49
50
# File 'lib/Win32_NetworkLoginProfile.rb', line 48

def Description
  @Description
end

- (uint32) Flags (readonly)

Flags プロパティは、このネットワークプロファイルが利用できるプロパティを示します。

 

Returns:

  • (uint32)

    Flags



100
101
102
# File 'lib/Win32_NetworkLoginProfile.rb', line 100

def Flags
  @Flags
end

- (string) FullName (readonly)

FullName プロパティは、ネットワーク ログイン プロファイルに属しているユーザーのフル ネームを表します。

 

Returns:

  • (string)

    FullName



106
107
108
# File 'lib/Win32_NetworkLoginProfile.rb', line 106

def FullName
  @FullName
end

- (string) HomeDirectory (readonly)

HomeDirectory プロパティにより、ユーザーのホーム ディレクトリへのパスが指定されます。

 

Returns:

  • (string)

    HomeDirectory



114
115
116
# File 'lib/Win32_NetworkLoginProfile.rb', line 114

def HomeDirectory
  @HomeDirectory
end

- (string) HomeDirectoryDrive (readonly)

HomeDirectoryDrive プロパティにより、ログオンのためにユーザーのホーム ディレクトリに割り当てられたドライブ文字が指定されます。

 

Returns:

  • (string)

    HomeDirectoryDrive



121
122
123
# File 'lib/Win32_NetworkLoginProfile.rb', line 121

def HomeDirectoryDrive
  @HomeDirectoryDrive
end

- (datetime) LastLogoff (readonly)

LastLogoff プロパティにより、ユーザーがシステムから前回ログオフした日時が指定されます。

 

Returns:

  • (datetime)

    LastLogoff



131
132
133
# File 'lib/Win32_NetworkLoginProfile.rb', line 131

def LastLogoff
  @LastLogoff
end

- (datetime) LastLogon (readonly)

LastLogon プロパティは、ユーザーがシステムに前回ログオンした日時を示します。

 

Returns:

  • (datetime)

    LastLogon



140
141
142
# File 'lib/Win32_NetworkLoginProfile.rb', line 140

def LastLogon
  @LastLogon
end

- (string) LogonHours (readonly)

LogonHours プロパティにより、ユーザーがログオンできる週の時刻が指定されます。

 

Returns:

  • (string)

    LogonHours



149
150
151
# File 'lib/Win32_NetworkLoginProfile.rb', line 149

def LogonHours
  @LogonHours
end

- (string) LogonServer (readonly)

LogonServer プロパティには、ログオン要求が送信されるサーバーの名前が含まれています。

 

Returns:

  • (string)

    LogonServer



159
160
161
# File 'lib/Win32_NetworkLoginProfile.rb', line 159

def LogonServer
  @LogonServer
end

- (uint64) MaximumStorage (readonly)

MaximumStorage プロパティにより、ユーザーが利用できるディスクの最大容量が指定されます。

 MaximumStorage 

Returns:

  • (uint64)

    MaximumStorage



167
168
169
# File 'lib/Win32_NetworkLoginProfile.rb', line 167

def MaximumStorage
  @MaximumStorage
end

- (string) Name (readonly)

Name プロパティにより、特定のドメインまたはコンピュータ上のユーザー アカウント名が指定されます。

 

Returns:

  • (string)

    Name



175
176
177
# File 'lib/Win32_NetworkLoginProfile.rb', line 175

def Name
  @Name
end

- (uint32) NumberOfLogons (readonly)

NumberOfLogons プロパティは、ユーザーがこのアカウントにログオンしようとして成功した回数を示します。

 

Returns:

  • (uint32)

    NumberOfLogons



185
186
187
# File 'lib/Win32_NetworkLoginProfile.rb', line 185

def NumberOfLogons
  @NumberOfLogons
end

- (string) Parameters (readonly)

Parameters プロパティには、アプリケーションに使用するために除外される領域のセットが含まれています。

 

Returns:

  • (string)

    Parameters



193
194
195
# File 'lib/Win32_NetworkLoginProfile.rb', line 193

def Parameters
  @Parameters
end

- (datetime) PasswordAge (readonly)

PasswordAge プロパティは、パスワードが有効な期限を示します。

 

Returns:

  • (datetime)

    PasswordAge



201
202
203
# File 'lib/Win32_NetworkLoginProfile.rb', line 201

def PasswordAge
  @PasswordAge
end

- (datetime) PasswordExpires (readonly)

PasswordExpires プロパティは、パスワードの有効期限が切れる日時を示します。

 

Returns:

  • (datetime)

    PasswordExpires



208
209
210
# File 'lib/Win32_NetworkLoginProfile.rb', line 208

def PasswordExpires
  @PasswordExpires
end

- (uint32) PrimaryGroupId (readonly)

PrimaryGroupId プロパティにより、このユーザーに対するプライマリ グローバル グループの相対 ID (RID) が指定されます。

 

Returns:

  • (uint32)

    PrimaryGroupId



214
215
216
# File 'lib/Win32_NetworkLoginProfile.rb', line 214

def PrimaryGroupId
  @PrimaryGroupId
end

- (uint32) Privileges (readonly)

特権プロパティにより、usri3_name プロパティに割り当てられた特権のレベルが指定されます。

Returns:

  • (uint32)

    Privileges



219
220
221
# File 'lib/Win32_NetworkLoginProfile.rb', line 219

def Privileges
  @Privileges
end

- (string) Profile (readonly)

Profile プロパティにより、ユーザー プロファイルへのディレクトリ パスが指定されます。

 

Returns:

  • (string)

    Profile



228
229
230
# File 'lib/Win32_NetworkLoginProfile.rb', line 228

def Profile
  @Profile
end

- (string) ScriptPath (readonly)

ScriptPath プロパティは、ユーザーのログオン スクリプトへのディレクトリ パスを示します。

 

Returns:

  • (string)

    ScriptPath



236
237
238
# File 'lib/Win32_NetworkLoginProfile.rb', line 236

def ScriptPath
  @ScriptPath
end

- (string) SettingID (readonly)

CIM_Setting オブジェクトを認識する識別子です。

Returns:

  • (string)

    SettingID



241
242
243
# File 'lib/Win32_NetworkLoginProfile.rb', line 241

def SettingID
  @SettingID
end

- (uint32) UnitsPerWeek (readonly)

UnitsPerWeek プロパティは、週が分割される時間の単位数を示します。

 

Returns:

  • (uint32)

    UnitsPerWeek



249
250
251
# File 'lib/Win32_NetworkLoginProfile.rb', line 249

def UnitsPerWeek
  @UnitsPerWeek
end

- (string) UserComment (readonly)

UserComment プロパティには、ユーザーが定義したこのプロファイルのコメントまたは説明が含まれています。

Returns:

  • (string)

    UserComment



254
255
256
# File 'lib/Win32_NetworkLoginProfile.rb', line 254

def UserComment
  @UserComment
end

- (uint32) UserId (readonly)

UserId プロパティにより、ユーザーの相対 ID (RID) が指定されます。

   

Returns:

  • (uint32)

    UserId



260
261
262
# File 'lib/Win32_NetworkLoginProfile.rb', line 260

def UserId
  @UserId
end

- (string) UserType (readonly)

UserType プロパティは、ユーザーに特権があるアカウントの種類を示します。

Returns:

  • (string)

    UserType



265
266
267
# File 'lib/Win32_NetworkLoginProfile.rb', line 265

def UserType
  @UserType
end

- (string) Workstations (readonly)

Workstations プロパティには、ユーザーがログオンできるワークステーションの名前が含まれています。

 8 

Returns:

  • (string)

    Workstations



273
274
275
# File 'lib/Win32_NetworkLoginProfile.rb', line 273

def Workstations
  @Workstations
end