Skip to main content
Home

Search form

Menu

Search form

  • Overview
  • How To videos
  • Getting Started with SkyVault
  • Using SkyVault
  • Customizing
  • Programming
    • Integrating your application with SkyVault
    • Designing your application
    • Programming with CMIS
    • Programming with the repository
    • Programming with SkyVault services
    • Programming with Surf
    • Web Scripts
    • Scripting API
    • Services API
      • Site service
        • Site service object
          • createSite
          • listSites
          • listSiteRoles
          • listUserSites
          • getSite
          • getSites
          • findSites
          • hasCreateSitePermissions
          • isSiteManager
          • cleanSitePermissions
        • Site object
      • Activities service
      • Tagging service
      • Thumbnail service
      • Rendition service
      • Authority service
      • Workflow service
  • Copyright
  • Disclaimer
  • You are here

    SkyVault Enterprise 4.1.10 » Programming » SkyVault API Reference » Repository JavaScript API » Services API » Site service » Site service object

    isSiteManager

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

    Parameters

    shortName
    The short name of the site.

    Returns

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

    Example

    result = siteService.isSiteManager("simple-site");
          
    Parent topic: Site service object

    © 2017 TBS-LLC. All Rights Reserved.    Follow @twitter