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)