: SpsSsoProvider.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
Public Function GetCurrentUser As String
'Uso
Dim instance As SpsSsoProvider
Dim returnValue As String
returnValue = instance.GetCurrentUser
public 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).
Vea también
Referencia
SpsSsoProvider (Clase)
SpsSsoProvider (Miembros)
Microsoft.SharePoint.Portal.SingleSignon (Espacio de nombres)