import { type UserGroup } from "https://deno.land/x/jamf_school@0.5.0/models/user_group.ts";
UserGroup represents a named group of users.
Methods
(Read) Update this user group's data.
Other user groups created from the same data will not be updated.
(Read) Get all the users in the user group.
(Read) Get the location this user group belongs to.
(Edit) Set this user group's description.
This method will not update the object. To update it, call
UserGroup.update()
.
This method is a no-op if the name is the same as the user group's current name.
(Edit) Set this user group's description.
This method will not update the object. To update it, call
UserGroup.update()
.
This method is a no-op if the description is the same as the user group's current description.
(Edit) Set whether the users in this group are parents.
A value of true
indicates that users in this group are
parents. false
indicates that they are not. Using null
means the users will inherit their status.
This method will not update the object. To update it, call
UserGroup.update()
.
This method is a no-op if the user group is already a parent group.
(Edit) Set whether the users in this group are teachers.
A value of true
indicates that users in this group are
teachers. false
indicates that they are not. Using null
means the users will inherit their status.
This method will not update the object. To update it, call
UserGroup.update()
.
This method is a no-op if the user group is already a teacher group.