Class: WMI::Win32_TSLogonSetting
- Inherits:
-
Base
- Object
- Base
- WMI::Win32_TSLogonSetting
- Defined in:
- lib/Win32_TSLogonSetting.rb
Overview
Setting クラスは、1 つ以上の ManagedSystemElement の構成関連パラメータおよび操作パラメータを表しています。ManagedSystemElement にはそれに関連付けられた複数の設定オブジェクトがあります。要素パラメータの現在の操作可能値は、要素自体のプロパティ、またはその関連付けのプロパティによって反映されます。これらのプロパティでは、設定オブジェクトで同じ値を持つ必要はありません。たとえば、モデムの設定では 56 KB/秒ボー レートですが、操作は 19.2 KB/秒で行われます。
Instance Attribute Summary (collapse)
-
- (string) Caption
readonly
CIM_Setting オブジェクトの簡単な説明 (1 行分の文字列) です。.
-
- (uint32) ClientLogonInfoPolicy
接続の設定を決定するためにサーパーが使用するポリシーを説明します。.
-
- (string) Description
readonly
CIM_Setting オブジェクトの説明です。.
-
- (string) Domain
readonly
ユーザーのコンピュータがあるドメイン名を指定します。.
-
- (uint32) PromptForPassword
readonly
ユーザーがサーバーにログオンするときに常にパスワードを求められるかどうかを指定します。.
-
- (string) SettingID
readonly
CIM_Setting オブジェクトを認識する識別子です。.
-
- (string) TerminalName
readonly
ターミナルの名前です。.
-
- (string) UserName
readonly
ユーザー名がクライアントから取得されるかどうかを指定します。.
Instance Method Summary (collapse)
-
- (uint32) ExplicitLogon(Domain, Password, UserName)
認証に使用される資格情報を明確に指定するプロパティの UserName、パスワードおよびドメインを設定します。 呼び出しは、サーバー上書きモードの場合には成功を、ポリシーがユーザーまたはグループに設定された場合にはエラーを返します。.
-
- (uint32) SetPromptForPassword(PromptForPassword)
PromptForPasword フラグがグループ ポリシーに入っていない場合、PromptForPasword フラグを有効または無効にします。.
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)
CIM_Setting オブジェクトの簡単な説明 (1 行分の文字列) です。
24 25 26 |
# File 'lib/Win32_TSLogonSetting.rb', line 24 def Caption @Caption end |
- (uint32) ClientLogonInfoPolicy
接続の設定を決定するためにサーパーが使用するポリシーを説明します。
29 30 31 |
# File 'lib/Win32_TSLogonSetting.rb', line 29 def ClientLogonInfoPolicy @ClientLogonInfoPolicy end |
- (string) Description (readonly)
CIM_Setting オブジェクトの説明です。
34 35 36 |
# File 'lib/Win32_TSLogonSetting.rb', line 34 def Description @Description end |
- (string) Domain (readonly)
ユーザーのコンピュータがあるドメイン名を指定します。
39 40 41 |
# File 'lib/Win32_TSLogonSetting.rb', line 39 def Domain @Domain end |
- (uint32) PromptForPassword (readonly)
ユーザーがサーバーにログオンするときに常にパスワードを求められるかどうかを指定します。
44 45 46 |
# File 'lib/Win32_TSLogonSetting.rb', line 44 def PromptForPassword @PromptForPassword end |
- (string) SettingID (readonly)
CIM_Setting オブジェクトを認識する識別子です。
49 50 51 |
# File 'lib/Win32_TSLogonSetting.rb', line 49 def SettingID @SettingID end |
- (string) TerminalName (readonly)
ターミナルの名前です。
54 55 56 |
# File 'lib/Win32_TSLogonSetting.rb', line 54 def TerminalName @TerminalName end |
- (string) UserName (readonly)
ユーザー名がクライアントから取得されるかどうかを指定します。
59 60 61 |
# File 'lib/Win32_TSLogonSetting.rb', line 59 def UserName @UserName end |
Instance Method Details
- (uint32) ExplicitLogon(Domain, Password, UserName)
認証に使用される資格情報を明確に指定するプロパティの UserName、パスワードおよびドメインを設定します。 呼び出しは、サーバー上書きモードの場合には成功を、ポリシーがユーザーまたはグループに設定された場合にはエラーを返します。
11 12 |
# File 'lib/Win32_TSLogonSetting.rb', line 11 def ExplicitLogon Domain, Password, UserName end |
- (uint32) SetPromptForPassword(PromptForPassword)
PromptForPasword フラグがグループ ポリシーに入っていない場合、PromptForPasword フラグを有効または無効にします。
18 19 |
# File 'lib/Win32_TSLogonSetting.rb', line 18 def SetPromptForPassword PromptForPassword end |