Skip to main content
Home

Search form

Menu

Search form

  • What's new in SkyVault
  • SkyVault 2.0 overview
  • SkyVault 2.0 video tutorials
  • Getting Started guides
  • Using SkyVault
  • Admin QuickStart
  • For Developers
    • Customizing Explorer and Share
    • Developing Applications and Extensions
      • Designing your application
      • SkyVault Repository
      • SkyVault Services
      • SkyVault Integration
      • Web Scripts
      • SkyVault Extensions
      • Share extensions
      • Maven SkyVault SDK
      • Programming with Surf
      • Content modeling
      • SkyVault 2.0 API
      • Scripting API
      • Services API
        • Activities service
        • Authority service
          • createRootGroup
          • getAllRootGroups
          • getAllRootGroupsInZone
          • getGroup
          • getGroupForFullAuthorityName
          • getGroups
          • getGroupsInZone
          • getUser
          • searchGroups
          • searchGroupsInZone
          • searchRootGroups
          • searchRootGroupsInZone
          • searchUsers
          • ScriptGroup object
          • ScriptUser object
            • getPerson
            • getZones
        • Rendition service
        • Site service
        • Tagging service
        • Thumbnail service
        • Workflow service
  • SkyVault Public Java API
  • Copyright
  • Disclaimer
  • You are here

    SkyVault 2.0 » For Developers » Developing Applications and Extensions » SkyVault API Reference » Repository JavaScript API » Services API » Authority service » ScriptUser object

    getZones

    getZones() - returns all the zones of this user.

    Parameters

    None

    Returns

    Returns a set of strings representing all the zones of this user.

    Example

    var username = "joe.user";
    
    var scriptUser = groups.getUser(username);
    
    var zones = scriptUser.getZones();
          
    Parent topic: ScriptUser object

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