userHelper

    The userHelper provides functions to manipulate users

    Names of objects are case sensitive. displayname is different from displayName

    TitleDescription
    createUser

    Creates a new user with the provided information.

    findInGroup

    Returns a list of users that are members of the specified group.

    findWithRole

    Returns a list of users with the specified role in any of the existing projects.

    getByEmail

    Returns a user matching the specified email address or null if not user is found.

    getByKey

    Returns a user matching the specified user key or null if the user is not found.

    getByUsername

    Returns a user object based on a Username
    Returns a null in case

    • the user name is not found
    • the Exalate user has no 'Browse Users' permissions
    hasRole

    Returns a boolean indicating if the user has the specified role in any of the existing projects.

    isGroupMember

    Returns a boolean indicating if the user if member of the specified group.