This documentation is archived and is not being maintained.

ConnectionOptions.Authority Property

Gets or sets the authority to be used to authenticate the specified user.

[Visual Basic]
Public Property Authority As String
[C#]
public string Authority {get; set;}
[C++]
public: __property String* get_Authority();
public: __property void set_Authority(String*);
[JScript]
public function get Authority() : String;
public function set Authority(String);

Property Value

If not null, this property can contain the name of the Windows NT/Windows 2000 domain in which to obtain the user to authenticate.

Remarks

The property must be passed as follows: If it begins with the string "Kerberos:", Kerberos authentication will be used and this property should contain a Kerberos principal name. For example, Kerberos:<principal name>.

If the property value begins with the string "NTLMDOMAIN:", NTLM authentication will be used and the property should contain a NTLM domain name. For example, NTLMDOMAIN:<domain name>.

If the property is null, NTLM authentication will be used and the NTLM domain of the current user will be used.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

ConnectionOptions Class | ConnectionOptions Members | System.Management Namespace

Show: