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
        • 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

    getGroup

    getGroup(shortName) this method gets a group given its short name.

    Parameters

    shortName
    A string representing the short name of the group to return.

    Returns

    Returns a ScriptGroup object, or null if the group cannot be found.

    Example

    var shortName = "MY_GROUP";
    
    model.scriptGroup = groups.getGroup(shortName);
    Parent topic: Authority service

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