ILocalSecureStoreProvider.GetCredentials Method (String, Boolean)
Gets the credentials.
Namespace: Microsoft.Office.BusinessData.Infrastructure.SecureStore
Assembly: Microsoft.Office.BusinessData (in Microsoft.Office.BusinessData.dll)
Syntax
'Declaration
Function GetCredentials ( _
appId As String, _
alwaysShowUI As Boolean _
) As SecureStoreCredentialCollection
'Usage
Dim instance As ILocalSecureStoreProvider
Dim appId As String
Dim alwaysShowUI As Boolean
Dim returnValue As SecureStoreCredentialCollection
returnValue = instance.GetCredentials(appId, _
alwaysShowUI)
SecureStoreCredentialCollection GetCredentials(
string appId,
bool alwaysShowUI
)
Parameters
- appId
Type: System.String
The target application identifier.
- alwaysShowUI
Type: System.Boolean
true to always prompt the user; otherwise, false.
Return Value
Type: Microsoft.BusinessData.Infrastructure.SecureStore.SecureStoreCredentialCollection
The credential collection.
See Also
Reference
ILocalSecureStoreProvider Interface
ILocalSecureStoreProvider Members
Microsoft.Office.BusinessData.Infrastructure.SecureStore Namespace