Click or drag to resize
CMSPageCheckResourceSite Method
Checks the security of the resource, returns true if the module is assigned to the site

Namespace: CMS.UIControls
Assembly: CMS.UIControls (in CMS.UIControls.dll) Version: 12.0.0
Syntax
C#
public bool CheckResourceSite(
	string resourceName,
	string siteName
)

Parameters

resourceName
Type: SystemString
Resource name
siteName
Type: SystemString
Site name

Return Value

Type: Boolean
See Also