Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
WebPartPermission class

WebPartPermission class

NOTE: This API is now obsolete.

Represents a custom permission that controls the ability to access Web Part resources.


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

[ObsoleteAttribute("Web Part permissions are obsolete and no longer required")]
public sealed class WebPartPermission : CodeAccessPermission, 

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