Add(Microsoft.SharePoint.Portal.Security.IMember, Microsoft.SharePoint.Portal.Security.PortalRight) Method
The Add method of the PermissionCollection class adds a Permission object for the specified member with the specified rights to the collection.
Parameters
member An IMember object that represents the member.
rights A Microsoft.SharePoint.Portal.Security.PortalRight value that specifies the permissions.
Remarks
If a user or role already exists in the permission collection, the Add method will update the mask in the collection.
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security