Class AWS::IAM::GroupUserCollection
In: lib/aws/iam/group_user_collection.rb
Parent: Object

A collection that provides access to IAM users belonging to a particular group.

  group = AWS::IAM.new.groups.first
  users = group.users
  users.each { |u| puts u.name }

Methods

add   clear   each   each_item   new   remove   request_method  

Included Modules

Collections::Basic

Attributes

group  [R]  @attr_reader [Group] The group.

Public Class methods

Public Instance methods

Adds a user to the group.

@param [User] user The user to add. @return [nil]

Removes all users from this group. @return [nil]

Yields once for each user in the group.

@param [Hash] options @yieldparam [User] user @return [nil]

Remove a user from the group.

@param [User] user The user to remove. @return [nil]

Protected Instance methods

[Validate]