Permission Class

The Permission class represents the permission assigned to a user or a role for an area or a site.



Public Properties

The following table shows the properties of the Permission class, the data type of each property, and a brief description of each.

Name Data type Description
IsMaskChangeable Boolean Determines whether the portal mask can be changed for the user or role.
Member Microsoft.SharePoint.Portal.Security.IMember Gets the member object for the user or role that has the permission.
PortalMask Microsoft.SharePoint.Portal.Security.PortalRight Gets or sets the rights for the portal mask of the user or role.


The following example shows how to browse through the Permission objects in the PermissionCollection object for the portal site.

Thread Safety

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


Namespace: Microsoft.SharePoint.Portal.Security

Platforms: Microsoft Windows Server 2003

Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Security: Code Access Security