Method: LessonlyApi::ResourceType::User#groups
- Defined in:
- lib/lessonly_api/resource_type/user.rb
#groups ⇒ ResourceType::UserGroup
Returns the list of a user’s group memberships and groups the user is managing.
65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 |
# File 'lib/lessonly_api/resource_type/user.rb', line 65 fields( :id, :resource_type, :type, :ext_uid, :email, :name, :role, :role_id, {archived_at: :date_time}, :archived_by_user_id, :job_title, :business_unit, :department, :location, :locale, {hire_date: :date}, :manager_name, :mobile_phone_number, :custom_user_field_data, {groups: :user_group} ) |