Dela via


WindowsCredentials Class

 

Applies To: Azure, Windows 10, Windows 8, Windows 8.1, Windows Server 2012 R2

Represents the active directory domain credential.

Namespace:   System.Fabric
Assembly:  System.Fabric (in System.Fabric.dll)

Inheritance Hierarchy

System.Object
  System.Fabric.SecurityCredentials
    System.Fabric.WindowsCredentials

Syntax

public sealed class WindowsCredentials : SecurityCredentials

Constructors

Name Description
System_CAPS_pubmethod WindowsCredentials()

Initializes a new instance of the WindowsCredentials class.

Properties

Name Description
System_CAPS_pubproperty CredentialType

Indicates the type of security credentials to use in order to secure the cluster – valid values are "none", "x509", "Windows".(Inherited from SecurityCredentials.)

System_CAPS_pubproperty ProtectionLevel

Gets or sets how communication is protected, default value is EncryptAndSign.

System_CAPS_pubproperty RemoteIdentities

Gets or sets the list of active directory domain identities of remote clients, each entry can be either account name or group name.

System_CAPS_pubproperty RemoteSpn

Gets or sets the service principal name of remote listener, can be left empty if the remote listener runs as machine accounts.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

System.Fabric Namespace

Return to top