getAllOrganizationIds (Power Scripts)
getAllOrganizationIds (Power Scripts)
Description
Returns the Ids of all Service Desk organizations.
Return Type
Number []
Returns a number array of organization Ids.
Examples
Example 1
return getAllOrganizationIds();
Result: 11|12|13|14.
Example 2
for(number id in getAllOrganizationIds()) {
runnerLog(getOrganizationNameById(id));
}
Result: "Company A" "Company B" "Company C"
See also
, multiple selections available,
Related content
getOrganizationNameById (Power Scripts)
getOrganizationNameById (Power Scripts)
More like this
getAllOrganizationIds
getAllOrganizationIds
More like this
getAllOrganizationIds
getAllOrganizationIds
More like this
getAllSDProjects (Power Scripts)
getAllSDProjects (Power Scripts)
More like this
getUsersFromOrganizations (Power Scripts)
getUsersFromOrganizations (Power Scripts)
More like this
getOrganizationIdByName
getOrganizationIdByName
More like this
Need support? Create a request with our support team.
Copyright © 2005 - 2025 Appfire | All rights reserved.