Compartir a través de


: ISsoProvider.GetCredentials (Método) (Microsoft.SharePoint.Portal.SingleSignon)

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

Espacio de nombres:
Ensamblado: Microsoft.SharePoint.Portal.SingleSignon (in microsoft.sharepoint.portal.singlesignon.dll)

Sintaxis

'Declaración
Function GetCredentials ( _
    AppID As String _
) As SsoCredentials
'Uso
Dim instance As ISsoProvider
Dim AppID As String
Dim returnValue As SsoCredentials

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

Parámetros

  • AppID
    The application ID.

Comentarios

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

Ejemplo

For an example, see Tutorial: implementación de un proveedor de SSO conectable.

Vea también

Referencia

ISsoProvider (Interfaz)
ISsoProvider (Miembros)
Microsoft.SharePoint.Portal.SingleSignon (Espacio de nombres)