Class: WMI::Win32_SID

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

Overview

任意の SID を表します— CANNOT BE ENUMERATED

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) AccountName (readonly)

SID と関連付けされているアカウント名です

Returns:

  • (string)

    AccountName



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

def AccountName
  @AccountName
end

- (uint8) BinaryRepresentation (readonly)

バイナリ形式の SID です

Returns:

  • (uint8)

    BinaryRepresentation



12
13
14
# File 'lib/Win32_SID.rb', line 12

def BinaryRepresentation
  @BinaryRepresentation
end

- (string) ReferencedDomainName (readonly)

SID と関連付けされているアカウントのドメインです

Returns:

  • (string)

    ReferencedDomainName



17
18
19
# File 'lib/Win32_SID.rb', line 17

def ReferencedDomainName
  @ReferencedDomainName
end

- (string) SID (readonly)

文字列形式の SID です

Returns:

  • (string)

    SID



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

def SID
  @SID
end

- (uint32) SidLength (readonly)

SidLength プロパティは SID の長さをバイトで示します。

Returns:

  • (uint32)

    SidLength



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

def SidLength
  @SidLength
end