Class: WMI::Win32_Trustee

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

Overview

トラスティを指定します。名前または SID (バイト配列) が使用できます

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) Domain=(value) (writeonly)

アカウントのドメイン部分です

Returns:

  • (string)

    Domain



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

def Domain=(value)
  @Domain = value
end

- (string) Name=(value) (writeonly)

アカウントの名前の部分です

Returns:

  • (string)

    Name



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

def Name=(value)
  @Name = value
end

- (uint8) SID=(value) (writeonly)

トラスティの SID です

Returns:

  • (uint8)

    SID



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

def SID=(value)
  @SID = value
end

- (uint32) SidLength=(value) (writeonly)

SID の長さ (バイト) です

Returns:

  • (uint32)

    SidLength



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

def SidLength=(value)
  @SidLength = value
end

- (string) SIDString=(value) (writeonly)

文字列形式 (例: S-1-1-0) のトラスティの SID です

Returns:

  • (string)

    SIDString



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

def SIDString=(value)
  @SIDString = value
end