SpsSsoProvider.GetCredentials Method
Returns the single sign-on (SSO) credentials for the specified application.
Namespace: Microsoft.SharePoint.Portal.SingleSignon
Assembly: Microsoft.SharePoint.Portal.SingleSignon (in Microsoft.SharePoint.Portal.SingleSignon.dll)
Syntax
'Declaration
Public Function GetCredentials ( _
AppID As String _
) As SsoCredentials
'Usage
Dim instance As SpsSsoProvider
Dim AppID As String
Dim returnValue As SsoCredentials
returnValue = instance.GetCredentials(AppID)
public SsoCredentials GetCredentials(
string AppID
)
Parameters
- AppID
Type: System.String
An application ID.
Return Value
Type: Microsoft.SharePoint.Portal.SingleSignon.SsoCredentials
Sensitive credentials are not returned. The SSO provider obtains the correct identity for the current user from the current HTTP request.
Implements
ISsoProvider.GetCredentials(String)