class Jamf::UserExtensionAttribute

A User extension attribute as defined in the JSS

@see Jamf::ExtensionAttribute @see Jamf::APIObject

Constants

ALL_TARGETS_CRITERION

A criterion that will return all members of the TARGET_CLASS

OBJECT_HISTORY_OBJECT_TYPE

the object type for this object in the object history table. See {APIObject#add_object_history_entry}

RSRC_BASE

The base for REST resources of this class

RSRC_LIST_KEY

the hash key used for the JSON list output of all objects in the JSS

RSRC_OBJECT_KEY

The hash key used for the JSON object output. It’s also used in various error messages

TARGET_CLASS

A User in the JSS.

@see Jamf::APIObject

Public Instance Methods

input_type=(new_val) click to toggle source

@see Jamf::ExtensionAttribute#input_type=

Calls superclass method Jamf::ExtensionAttribute#input_type=
   # File lib/jamf/api/classic/api_objects/user_extension_attribute.rb
64 def input_type=(new_val)
65   raise Jamf::InvalidDataError, "User Extension Attribute input_type cannot be '#{INPUT_TYPE_SCRIPT}'" if new_val == INPUT_TYPE_SCRIPT
66   raise Jamf::InvalidDataError, "User Extension Attribute input_type cannot be '#{INPUT_TYPE_LDAP}'" if new_val == INPUT_TYPE_LDAP
67 
68   super
69 end
web_display=(_new_val) click to toggle source

@see Jamf::ExtensionAttribute#web_display=

   # File lib/jamf/api/classic/api_objects/user_extension_attribute.rb
73 def web_display=(_new_val)
74   raise Jamf::UnsupportedError, 'User Extension Attributes web_display cannot be set'
75 end