Class: PEClient::Resource::RBACV2::Groups
- Defined in:
- lib/pe_client/resources/rbac.v2/groups.rb
Overview
User groups allow you to quickly assign one or more roles to a set of users by placing all relevant users in the group. This is more efficient than assigning roles to each user individually. The v2 #create has additional optional parameters you can use when creating groups.
Constant Summary collapse
Instance Method Summary collapse
-
#create(login:, role_ids:, display_name: nil, identity_provider_id: nil, validate: nil) ⇒ Hash{String => String}
deprecated
Deprecated.
Use PEClient::Resource::RBACV1::Groups#create instead.
Methods inherited from Base
Constructor Details
This class inherits a constructor from PEClient::Resource::Base
Instance Method Details
#create(login:, role_ids:, display_name: nil, identity_provider_id: nil, validate: nil) ⇒ Hash{String => String}
Deprecated.
Use PEClient::Resource::RBACV1::Groups#create instead.
Create a new remote directory user group.
47 48 49 50 |
# File 'lib/pe_client/resources/rbac.v2/groups.rb', line 47 def create(login:, role_ids:, display_name: nil, identity_provider_id: nil, validate: nil) PEClient.deprecated "create", "RBACV1::Groups#create" @client.post BASE_PATH, body: {login:, role_ids:, display_name:, identity_provider_id:, validate:}.compact end |