Share via


AtomPubClient.ServerCredential Property

Definition

Gets or sets the credentials to use when making requests to the server.

public:
 property PasswordCredential ^ ServerCredential { PasswordCredential ^ get(); void set(PasswordCredential ^ value); };
PasswordCredential ServerCredential();

void ServerCredential(PasswordCredential value);
public PasswordCredential ServerCredential { get; set; }
var passwordCredential = atomPubClient.serverCredential;
atomPubClient.serverCredential = passwordCredential;
Public Property ServerCredential As PasswordCredential

Property Value

Initially, this value is a username/password tuple. For domain credentials, the username is in domain\user form.

Implements

Applies to