- Source:
Methods
(static) getNameArr(staffObjArr) → {Array.<string>}
Get a sorted array of staff names from an array of staff objects
Parameters:
| Name | Type | Description |
|---|---|---|
staffObjArr |
Array.<UserData> | Array of UserData objects |
- Source:
Returns:
- A sorted array of name strings
- Type
- Array.<string>
(static) getObjArr(email, managerEmail) → {Array.<UserData>}
Takes a Google Groups email then returns an array of objects including
group members' names and email addresses.
Parameters:
| Name | Type | Description |
|---|---|---|
email |
string | Google Group Email |
managerEmail |
string | manager does not do code moves |
- Source:
Returns:
- Array of UserData objects
- Type
- Array.<UserData>
(static) getStaffNameObj(mgrsStaffEmail) → {StaffNameList}
Gets the names of all staff members in the given manager's group.
Parameters:
| Name | Type | Description |
|---|---|---|
mgrsStaffEmail |
string | manager's Google Group for staff |
- Source:
Returns:
- { "Firstname Lastname":true, ... }
- Type
- StaffNameList