The getuserrange() and getdevicerange() routines are used to obtain the label range of a user and a device, respectively. The following routine descriptions include the prototype declaration for each routine:
The getuserrange() routine obtains the label range of the specified user. The lower bound in the range is used as the initial workspace label when a user logs in to a multilevel desktop. The upper bound, or clearance, is used as an upper limit to the available labels that a user can assign to labeled workspaces.
The default value for a user's label range is specified in the label_encodings file. The value can be overridden by the user_attr file.
See the setflabel(3TSOL), label_encodings(4), and user_attr(4) man pages.
The getdevicerange() routine obtains the label range of a user-allocatable device. If no label range is specified for the device, the default range has an upper bound of ADMIN_HIGH and a lower bound of ADMIN_LOW.
You can use the list_devices command to show the label range for a device.
See the list_devices(1) and getdevicerange(3TSOL) man pages.