Tests if the current user has access to the given Smi site.

Syntax

Smartsite SXML CopyCode image Copy Code
boolean smidata.hassiteaccess(string siteName)

Parameters

Name Data Type Description
siteName String Name of the Smi site as defined in the Smartsite.ManagementInformation.config file.

Return Value

Data Type Description
Boolean Returns true if the current user has access the given site, false otherwise.

Expand image Remarks

Expand image Example

SXML