Partager via


ISsoProvider.GetCredentials, méthode (Microsoft.SharePoint.Portal.SingleSignon)

Gets the single sign-on (SSO) credentials for the specified application identifier.

Espace de noms : Microsoft.SharePoint.Portal.SingleSignon
Assembly : Microsoft.SharePoint.Portal.SingleSignon (dans microsoft.sharepoint.portal.singlesignon.dll)

Syntaxe

'Déclaration
Function GetCredentials ( _
    AppID As String _
) As SsoCredentials
'Utilisation
Dim instance As ISsoProvider
Dim AppID As String
Dim returnValue As SsoCredentials

returnValue = instance.GetCredentials(AppID)
SsoCredentials GetCredentials (
    string AppID
)

Paramètres

  • AppID
    The application ID.

Remarques

Sensitive credentials are not returned. The SSO provider obtains the correct identity for the current user from the current HTTP request.

Exemple

For an example, see Procédure pas à pas : implémentation d'un fournisseur d'authentification unique enfichable.

Voir aussi

Référence

ISsoProvider, interface
Membres ISsoProvider
Microsoft.SharePoint.Portal.SingleSignon, espace de noms