Microsoft.SharePoint.Portal.Security Namespace
The Microsoft.SharePoint.Portal.Security namespace contains classes that manage security on the portal site.
Classes
The following table shows the classes of the Microsoft.SharePoint.Portal.Security namespace and shows a brief description of each.
| Class | Description |
|---|---|
| AccessDeniedException | Exception thrown when the user does not have sufficient rights to perform the attempted operation. |
| UserNotFoundException | Exception thrown when the specified user is not found. |
| AreaAccessChecker | Checks the security on an area on a site. |
| InvalidMaskException | Exception thrown when the rights you set are not a valid combination of PortalRights values. |
| Permission | Permission assigned to a user or a role for a category or a site. |
| PermissionCollection | Collection of Permission objects. |
| PermissionCollectionEnumerator | Enumerator for the permission collection. |
| Role | A site group in SharePoint Portal Server. |
| ScopeMismatchException | Exception thrown when an attempt is made to perform an operation that is beyond the scope of the object on which the operation is performed. |
| SecurityInternalErrorException | Exception thrown if an internal error occurs. |
| SecurityManager | Represents a security manager that adds roles and manages area and site security. |
| SiteAccessChecker | Checks the security on a site. |
| SiteIsFederatedException | Exception thrown when the user does not have sufficient rights to perform the attempted operation because the site is federated. |
| User | Represents a user in SharePoint Portal Server. |
Interfaces
The following table shows the interfaces of the Microsoft.SharePoint.Portal.People namespace and shows a brief description of each.
| Interface | Description |
|---|---|
| IMember | Defines a user in SharePoint Portal Server. |