-api-id | -api-type |
---|---|
M:Windows.Security.Credentials.PasswordCredential.#ctor(System.String,System.String,System.String) |
winrt method |
Creates and initializes a new instance of the PasswordCredential object that contains the provided credential data.
The resource for which the credentials are used.
The user name that must be present in the credentials. This value must not be null or empty, otherwise an exception will be thrown.
The password for the created credentials. This value must not be null or empty, otherwise an exception will be thrown.