tasks.team.getMySettings

Returns information about the current user: ID, access rights, time zone.

Parameters

  • format GET Optional

    Sets response format. Available options: json (default), xml.

Return value

Array with the following keys:

  • id int User ID.
  • rights array Information about the user’s access rights as an array with the following keys:
  • rights['is_admin'] bool Flag denoting whether the user has full access to Teamwork.
  • rights['projects_assigned'] array<int> If the user has limited access rights: array of IDs of the projects for which access to tasks assigned to the user is enabled.
  • rights['projects_assigned_all'] bool Flag denoting whether access to tasks assigned to the user is enabled for all projects.
  • rights['projects_full'] array<int> If the user has limited access rights: array of IDs of the projects for which full access is enabled.
  • rights['projects_full_all'] bool Flag denoting whether the user has full access to all projects.
  • timezone string The time zone name from the user profile.
  • ts int Timestamp of the server time at the moment of the response.

Example

https://demo1.webasyst.com/api.php/tasks.team.getMySettings?