Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Deletes the credentials for the target application with the specified target application ID.
Namespace: Microsoft.Office.SecureStoreService.Server
Assembly: Microsoft.Office.SecureStoreService (in Microsoft.Office.SecureStoreService.dll)
Syntax
'Declaration
<SecureStorePermissionAttribute(SecurityAction.Demand, Access := SecureStoreAccess.Credentials)> _
<PermissionSetAttribute(SecurityAction.Assert, Name := "FullTrust")> _
Public Sub DeleteCredentials ( _
appId As String _
)
'Usage
Dim instance As SecureStoreProvider
Dim appId As String
instance.DeleteCredentials(appId)
[SecureStorePermissionAttribute(SecurityAction.Demand, Access = SecureStoreAccess.Credentials)]
[PermissionSetAttribute(SecurityAction.Assert, Name = "FullTrust")]
public void DeleteCredentials(
string appId
)
Parameters
appId
Type: System.StringThe target application ID.
Implements
ISecureStoreProvider.DeleteCredentials(String)
Exceptions
Exception | Condition |
---|---|
SecureStoreCredentialsNotFoundException | The credentials are not available for the specified target application. |
SecureStoreTargetApplicationNotFoundException | The target application does not exist in the Secure Store. |
Remarks
This method does not delete credentials for group target applications. It deletes credentials only for individual target applications.