Class finesse.restservices.Users
Extends
finesse.restservices.RestCollectionBase.
JavaScript representation of a Users collection object.
While there is no method provided to retrieve all Users, this collection is
used to return the Users in a supervised Team.
Defined in: finesse.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
- Fields borrowed from class finesse.restservices.RestBase:
- ajaxRequestTimeout, restResponseStatus
- Methods borrowed from class finesse.restservices.RestCollectionBase:
- getCollection, refresh
- Methods borrowed from class finesse.restservices.RestBase:
- addHandler, getBaseRestUrl, getData, getId, getProperty, getRestUrlAdditionalParameters, hasProperty, isLoaded, removeHandler
Class Detail
finesse.restservices.Users()
// Note: The following method gets an Array of Teams, not a Collection.
_teams = _user.getSupervisedTeams();
if (_teams.length > 0) {
_team0Users = _teams[0].getUsers();
}