Class: WMI::Win32_LoggedOnUser

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

Overview

Win32_LoggedOnUser アソシエーションにより、セッションおよびそのセッションを使用しているユーザーアカウントの関係が表されます。関連付けは通常 1 対 1 ですが - ユーザーは 2 つ以上のセッションを使用することが可能です。セッションの終了時には関連付けインスタンスは削除されます。

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

- (ref:Win32_Account) Antecedent (readonly)

Antecedent リファレンスは、このセッションの初期化に使用されたアカウントです。

 

Returns:

  • (ref:Win32_Account)

    Antecedent



8
9
10
# File 'lib/Win32_LoggedOnUser.rb', line 8

def Antecedent
  @Antecedent
end

- (ref:Win32_LogonSession) Dependent (readonly)

Dependent リファレンスは、アカウントが現在使用しているセッションです。

Returns:

  • (ref:Win32_LogonSession)

    Dependent



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

def Dependent
  @Dependent
end