共用方式為


SPClickthroughUsageEntry.UserId Property

Gets or sets the unique ID of the user.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property UserId As String
    Get
    Set
'Usage
Dim instance As SPClickthroughUsageEntry
Dim value As String

value = instance.UserId

instance.UserId = value
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