Skip to main content
Home

Search form

Menu

Search form

  • What's new in SkyVault Content Services
  • Supported Platforms
  • Video tutorials
  • Using SkyVault Share
  • SkyVault SDK 3.0
  • API guide
    • API overview
    • Use Cases
    • Java API
    • JavaScript API
      • About script files
      • Root objects
      • 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
    • FreeMarker API
    • Spring Surf API
  • Extension packaging - modules
  • Platform extensions
  • Platform integrations
  • Share extensions
  • Copyright
  • You are here

    SkyVault Content Services 5.2 » Developer guide » API guide » SkyVault Content Services API Reference » JavaScript API » Services API » Authority service

    getGroup

    getGroup(shortName) 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