Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 909 Bytes

passwordcredential_passwordcredential_1001825332.md

File metadata and controls

29 lines (20 loc) · 909 Bytes
-api-id -api-type
M:Windows.Security.Credentials.PasswordCredential.#ctor(System.String,System.String,System.String)
winrt method

Windows.Security.Credentials.PasswordCredential.PasswordCredential

-description

Creates and initializes a new instance of the PasswordCredential object that contains the provided credential data.

-parameters

-param resource

The resource for which the credentials are used.

-param userName

The user name that must be present in the credentials. This value must not be null or empty, otherwise an exception will be thrown.

-param password

The password for the created credentials. This value must not be null or empty, otherwise an exception will be thrown.

-remarks

-examples

-see-also