Class: WMI::Win32_TokenPrivileges

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

Overview

Win32_TokenPrivileges 抽象型クラスには、アクセス トークンの特権のセットに関する情報が含まれています。ジョブ オブジェクトの各プロセスまたはスレッドには、利用できるリソースおよび動作を指定しているアクセス トークンがあります。詳細については、プラットフォーム SDK アクセス制御ドキュメントのアクセス トークンのトピックを参照してください。

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

- (uint32) PrivilegeCount (readonly)

特権配列の中のエントリの数を指定します。

Returns:

  • (uint32)

    PrivilegeCount



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

def PrivilegeCount
  @PrivilegeCount
end

- (object:Win32_LUIDandAttributes) Privileges (readonly)

LUID の配列と属性を指定します。

Returns:

  • (object:Win32_LUIDandAttributes)

    Privileges



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

def Privileges
  @Privileges
end