CredentialsCacheManager.StoreCredentials Method (String, Uri, String, String)

Namespace:  Microsoft.VisualStudio.Services.Common
Assembly:  Microsoft.VisualStudio.Services.Common (in Microsoft.VisualStudio.Services.Common.dll)

Syntax

'Declaration
Public Function StoreCredentials ( _
    featureRegistryKeyword As String, _
    uri As Uri, _
    userName As String, _
    password As String _
) As Integer
public int StoreCredentials(
    string featureRegistryKeyword,
    Uri uri,
    string userName,
    string password
)
public:
int StoreCredentials(
    String^ featureRegistryKeyword, 
    Uri^ uri, 
    String^ userName, 
    String^ password
)
member StoreCredentials : 
        featureRegistryKeyword:string * 
        uri:Uri * 
        userName:string * 
        password:string -> int
public function StoreCredentials(
    featureRegistryKeyword : String, 
    uri : Uri, 
    userName : String, 
    password : String
) : int

Parameters

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

CredentialsCacheManager Class

StoreCredentials Overload

Microsoft.VisualStudio.Services.Common Namespace