Udostępnij za pośrednictwem


ManageSiteSecurity(Microsoft.SharePoint.Portal.PortalContext) Method

The ManageSiteSecurity method of the SecurityManager class returns the permission collection for a portal site.

Parameters

ctx   A Microsoft.SharePoint.Portal.PortalContext value that represents the portal site.

Return Value

A Microsoft.SharePoint.Portal.Security.PermissionCollection object that contains the permission collection for the portal site.

Example

The following example shows how you can use the ManageSiteSecurity method to browse through the PermissionCollection object for the portal site.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security