Module: Sophos::Client::Common

Included in:
TenantClient
Defined in:
lib/sophos/client/common.rb

Overview

This is the OAS 3.0 specification for the Common API in Sophos Central.

Instance Method Summary collapse

Instance Method Details

#directory_user_group_users(group_id, params = {}) ⇒ Object



15
16
17
# File 'lib/sophos/client/common.rb', line 15

def directory_user_group_users(group_id, params = {})
  get_paged(Helper::common_url("directory/user-groups/#{group_id}/users"), params)
end

#directory_user_groups(user_id, params = {}) ⇒ Object



19
20
21
# File 'lib/sophos/client/common.rb', line 19

def directory_user_groups(user_id, params = {})
  get_paged(Helper::common_url("directory/users/#{user_id}/groups"), params)
end