Share via


ISsoProvider.GetCredentials 方法 (Microsoft.SharePoint.Portal.SingleSignon)

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

命名空间: Microsoft.SharePoint.Portal.SingleSignon
程序集: Microsoft.SharePoint.Portal.SingleSignon (在 microsoft.sharepoint.portal.singlesignon.dll 中)

语法

声明
Function GetCredentials ( _
    AppID As String _
) As SsoCredentials
用法
Dim instance As ISsoProvider
Dim AppID As String
Dim returnValue As SsoCredentials

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

参数

  • AppID
    The application ID.

备注

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

示例

For an example, see 演练:实现可插入 SSO 提供程序.

另请参阅

参考

ISsoProvider 接口
ISsoProvider 成员
Microsoft.SharePoint.Portal.SingleSignon 命名空间