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
      • Surf root-scoped objects
        • context
        • user
          • save
          • getUser
        • content
        • page
        • template
        • config
        • theme
        • instance
        • sitedata
        • remote
        • locale
        • htmlid
        • url
        • head
        • app
        • msg
      • Return types
      • Rendering objects
  • SkyVault Public Java API
  • Copyright
  • Disclaimer
  • You are here

    SkyVault 2.0 » For Developers » Developing Applications and Extensions » SkyVault API Reference » Surf Platform API reference » Surf root-scoped objects » user

    getUser

    getUser(String userId) - this method returns a user object with populated details for the given User ID.

    Parameters

    userId
    A string representing the user ID of the user.

    Returns

    Returns a ScriptUser object, or null if the user cannot be found.

    Parent topic: user

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