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.StringThe target application identifier.
alwaysShowUI
Type: System.Booleantrue 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