Red Hat Network 4.1.0: Reference Guide
Prev | Appendix B. RHN API Access | Next

# B.5. Getting the sgid

System groups also have their own IDs. This value, the `sgid`, is a required parameter for the `set_group_membership` method, for instance. Like the `sid` and `cid`, the `sgid` can be obtained through the RHN website. Just click on the name of a system group and view the end of the URL. It follows the "=" symbol, as part of a string that resembles the following: "details.pxt?sgid=334958". Note that the member parameter within the `set_group_membership` method requires only `yes` or `no` as input to make the association.

Prev | Home | Next
Viewing the cid | Up | Sample API Script