Compartilhar via


Web.EnsureUser Method

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public Function EnsureUser ( _
    logonName As String _
) As User
'Usage
Dim instance As Web
Dim logonName As String
Dim returnValue As User

returnValue = instance.EnsureUser(logonName)
[RemoteAttribute]
public User EnsureUser(
    string logonName
)

Parameters

Return Value

Type: Microsoft.SharePoint.Client.User
Returns User.

See Also

Reference

Web Class

Web Members

Microsoft.SharePoint.Client Namespace