Interface ICredentialsStore
Gives access to the system's encrypted credentials.
Namespace: Softadmin.Api
Assembly: Softadmin.Api.dll
Syntax
public interface ICredentialsStore
Methods
GetCredentials(String, out String, out String)
Looks up and decrypts an account name/password pair.
Declaration
void GetCredentials(string name, out string accountName, out string accountPassword)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Internal name of the credentials to load. |
System.String | accountName | The account's name. |
System.String | accountPassword | The account's password. |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | No credentials with that name exists or you have not been granted access to them. |