Condividi tramite


UserDocsWebPart Class

Displays documents authored by a particular user.

Inheritance Hierarchy

System.Object
  System.Web.UI.Control
    System.Web.UI.WebControls.WebControl
      System.Web.UI.WebControls.Panel
        System.Web.UI.WebControls.WebParts.Part
          System.Web.UI.WebControls.WebParts.WebPart
            Microsoft.SharePoint.WebPartPages.WebPart
              Microsoft.SharePoint.WebPartPages.AggregationWebPart
                Microsoft.SharePoint.WebPartPages.UserDocsWebPart

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

Syntax

'Declaration
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public NotInheritable Class UserDocsWebPart _
    Inherits AggregationWebPart
'Usage
Dim instance As UserDocsWebPart
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public sealed class UserDocsWebPart : AggregationWebPart

Remarks

Queries for documents authored by, checked out to, or last modified by the browsing user. Use the query string parameter "AggrUserId" to force the Web part to use another user id.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

UserDocsWebPart Members

Microsoft.SharePoint.WebPartPages Namespace