PUT api/reportserver/v2/users/local

    Updates a local user.

    Request Information

    URI Parameters

    None.

    Body Parameters

    Local user model.

    UpdateLocalUserData
    NameDescriptionTypeAdditional information
    Id

    Specifies ID of the local user.

    string

    Required

    RoleIds

    Specifies the user role IDs which the user is assigned to. If left null user roles will remain unchanged. Otherwise the collection will be used as the new set of user role IDs.

    Collection of string

    None.

    Email

    Specifies the email of the local user.

    string

    Required

    FirstName

    Specifies the first name of the local user.

    string

    Required

    LastName

    Specifies the last name of the local user.

    string

    Required

    Enabled

    Specifies whether the local user is enabled or not.

    boolean

    None.

    Request body formats

    application/json, text/json

    Sample:
    {
      "Id": "sample string 1",
      "RoleIds": [
        "sample string 1",
        "sample string 2"
      ],
      "Email": "sample string 2",
      "FirstName": "sample string 3",
      "LastName": "sample string 4",
      "Enabled": true
    }

    Response Information

    Resource Description

    User
    NameDescriptionTypeAdditional information
    Id

    Specifies the user identifier.

    string

    None.

    Username

    Specifies the username of the user.

    string

    None.

    FirstName

    Specifies the first name of the user.

    string

    None.

    LastName

    Specifies the last name of the user.

    string

    None.

    Email

    Specifies the email of the user.

    string

    None.

    Enabled

    Specifies whether the user is enabled or not.

    boolean

    None.

    Response Formats

    application/json, text/json

    Sample:
    {
      "Id": "sample string 1",
      "Username": "sample string 2",
      "FirstName": "sample string 3",
      "LastName": "sample string 4",
      "Email": "sample string 5",
      "Enabled": true
    }
    In this article
    Not finding the help you need?