: ISsoProvider.GetCurrentUser (Método) (Microsoft.SharePoint.Portal.SingleSignon)
Gets the current user from the current HTTP request. If the request is authenticated with Windows authentication, this returns a UPN (user principal name).
Espacio de nombres:
Ensamblado: Microsoft.SharePoint.Portal.SingleSignon (in microsoft.sharepoint.portal.singlesignon.dll)
Sintaxis
'Declaración
Function GetCurrentUser As String
'Uso
Dim instance As ISsoProvider
Dim returnValue As String
returnValue = instance.GetCurrentUser
string GetCurrentUser ()
Valor devuelto
The current user from the current HTTP request. If the request is authenticated with Windows authentication, this returns a UPN (user principal name).
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)