Share via


SPClickthroughUsageEntry.UserId property

NOTE: This API is now obsolete.

Gets or sets the unique ID of the user.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<ObsoleteAttribute("Query click through collection is no longer necessary for the new analytics platform.")> _
Public Property UserId As String
    Get
    Set
'Usage
Dim instance As SPClickthroughUsageEntry
Dim value As String

value = instance.UserId

instance.UserId = value
[ObsoleteAttribute("Query click through collection is no longer necessary for the new analytics platform.")]
public string UserId { get; set; }

Property value

Type: System.String
The unique ID of the user.

Remarks

For Microsoft SharePoint Server 2010 for Web Analytics the account name is obtained from the current user identity. For example, the System.Web.HTTPContext.Current.User.Identity.Name property.

See also

Reference

SPClickthroughUsageEntry class

SPClickthroughUsageEntry members

Microsoft.SharePoint.Administration namespace