Class: WMI::Win32_Account

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

Overview

Win32_Account クラスには、Win32 システムに認識されるユーザー アカウントとグループ アカウントの情報が含まれています。Windows NT によって認識されるユーザー名またはグループ名はこのクラスの子孫 (またはメンバ) です。Win32_Account クラスは、既定のハードウェア インベントリ操作には含まれません。

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

- (string) Caption (readonly)

Caption プロパティは、オブジェクトについての簡単な説明 (1 行分の文字列) です。

Returns:

  • (string)

    Caption



7
8
9
# File 'lib/Win32_Account.rb', line 7

def Caption
  @Caption
end

- (string) Description (readonly)

Description プロパティでオブジェクトの説明が提供されます。

Returns:

  • (string)

    Description



13
14
15
# File 'lib/Win32_Account.rb', line 13

def Description
  @Description
end

- (string) Domain (readonly)

Domain プロパティは、グループまたはユーザーが属している Windows ドメインの名前を示します。

 

Returns:

  • (string)

    Domain



20
21
22
# File 'lib/Win32_Account.rb', line 20

def Domain
  @Domain
end

- (datetime) InstallDate (readonly)

InstallDate プロパティは、オブジェクトがインストールされた日時を示す値です。

 

Returns:

  • (datetime)

    InstallDate



26
27
28
# File 'lib/Win32_Account.rb', line 26

def InstallDate
  @InstallDate
end

- (string) Name (readonly)

Name プロパティは、このクラスのドメイン メンバによって指定されたドメインの Win32 システム アカウントの名前を示します。

Returns:

  • (string)

    Name



37
38
39
# File 'lib/Win32_Account.rb', line 37

def Name
  @Name
end

- (string) SID (readonly)

SID プロパティには、このアカウントのセキュリティ識別子 (SID) が含まれています。

 SID 

Returns:

  • (string)

    SID



47
48
49
# File 'lib/Win32_Account.rb', line 47

def SID
  @SID
end

- (uint8) SIDType (readonly)

SIDType プロパティには、セキュリティ識別子 (SID) が指定される列挙された値が含まれています。

 SIDType 

Returns:

  • (uint8)

    SIDType



71
72
73
# File 'lib/Win32_Account.rb', line 71

def SIDType
  @SIDType
end

- (string) Status (readonly)

Status プロパティはオブジェクトの現在の状態を示す文字列です。

 

Returns:

  • (string)

    Status



84
85
86
# File 'lib/Win32_Account.rb', line 84

def Status
  @Status
end