addUserToGroup

Adds the specified user to the specified group.

Samples


fun main() { 
   //sampleStart 
   // The following command adds an IAM user named Bob to the IAM group named Admins
iamClient.addUserToGroup {
    userName = "Bob"
    groupName = "Admins"
} 
   //sampleEnd
}