User Registration
This script is to pull User Id's, Registered Device Names, and Registration status from every user within a group. This is helpful to diagnose issues, and identify devices that have gone offline.
This script uses the below methods to achieve this:
api.registration.get_bulk_user_registration()
Parameters
service_provider_id (str): Service Provider/ Enterprise where group is hosted.
group_id (str): Target Group you would like to pull the registration of users for.
Return
dict: Returns a dictionary output containing User ID, Device Name, and Registration Status
How To Use:
assistant = Scripter(my_api)
assistant.user_registration(
service_provider_id="ServiceProviderID",
group_id="GroupID",
)
Formatted Output
{
"[email protected]":{
"registration":{
"Device123":{
"registered":true
}
}
},
"[email protected]":{
"registration":{
}
},
"[email protected]":{
"registration":{
"DeskPhone":{
"registered":true
},
"HomePhone":{
"registered":true
}
}
}
}
Last updated
Was this helpful?