CredentialsCacheManager.StoreCredentials Method (String, Uri, String, String, CachedCredentialsType, Boolean)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
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, _
type As CachedCredentialsType, _
nonInteractive As Boolean _
) As Integer
public int StoreCredentials(
string featureRegistryKeyword,
Uri uri,
string userName,
string password,
CachedCredentialsType type,
bool nonInteractive
)
public:
int StoreCredentials(
String^ featureRegistryKeyword,
Uri^ uri,
String^ userName,
String^ password,
CachedCredentialsType type,
bool nonInteractive
)
member StoreCredentials :
featureRegistryKeyword:string *
uri:Uri *
userName:string *
password:string *
type:CachedCredentialsType *
nonInteractive:bool -> int
public function StoreCredentials(
featureRegistryKeyword : String,
uri : Uri,
userName : String,
password : String,
type : CachedCredentialsType,
nonInteractive : boolean
) : int
Parameters
- featureRegistryKeyword
Type: System.String
- uri
Type: System.Uri
- userName
Type: System.String
- password
Type: System.String
- nonInteractive
Type: System.Boolean
Return Value
Type: System.Int32
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.