Need to add an user to an AD security group using API which have multiple domains.

Need to add an user to an AD security group using API which have multiple domains.

Hi Team,
can some one please help me how to add an user to a security group via API(version 2) . we have 2 domains in our admanager plus . we need to provide both domains in the request as we are not sure the group is in which domain . please help if anyone tried this.

                      New to ADSelfService Plus?