Share via


DataSource.UserID Property

NOTE: This API is now obsolete.

Namespace:  Microsoft.SharePoint.Portal.UserProfiles
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
<ObsoleteAttribute("Microsoft.SharePoint.Portal.UserProfiles.DataSource.UserID is obsolete, please use Microsoft.Office.Server.DataSource.DefaultUserID instead.")> _
Public ReadOnly Property UserID As String
    Get
'Usage
Dim instance As DataSource
Dim value As String

value = instance.UserID
[ObsoleteAttribute("Microsoft.SharePoint.Portal.UserProfiles.DataSource.UserID is obsolete, please use Microsoft.Office.Server.DataSource.DefaultUserID instead.")]
public string UserID { get; }

Property Value

Type: System.String

See Also

Reference

DataSource Class

DataSource Members

Microsoft.SharePoint.Portal.UserProfiles Namespace