Chat Support
Loupe - Log - Monitor - Resolve
Loupe.Extensibility.Client Namespace / IRepositoryConfiguration Interface / SetUserCredentials Method
The unique name of the credentials stored
The account name to be stored encrypted
The password to be stored encrypted.

In This Topic
    SetUserCredentials Method
    In This Topic
    Store a password encrypted on the local computer for the current user
    Syntax
    'Declaration
     
    
    Function SetUserCredentials( _
       ByVal key As String, _
       ByVal account As String, _
       ByVal password As String _
    ) As Boolean
    bool SetUserCredentials( 
       string key,
       string account,
       string password
    )

    Parameters

    key
    The unique name of the credentials stored
    account
    The account name to be stored encrypted
    password
    The password to be stored encrypted.

    Return Value

    True if the credentials existed and were updated, false if they did not previously exist.
    Remarks
    Passwords are stored using the ProtectedData class to encrypt them such that they can only be decrypted on the same computer by the current user.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also