You are here

isSiteManager

isSiteManager(siteId) checks whether the currently authenticated user is a site manager or not, for the specified site.

Parameters

siteId
The short name of the site to check.

Returns

Returns a boolean. True is returned if the currently authenticated user is a site manager, false otherwise.

Example

result = siteService.isSiteManager("simple-site");