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: 8.2.23
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