I'm having a main site and few subdomain sites for different countries:
- www.mydomain.com (for U.S users)
- newzealand.mydomain.com
- singapore.mydomain.com
- australia.mydomain.com
For each site, there are roles of anonymous user, authenticated user, member.
Rules module is used to add "member" role if this is an active user, and remove "member" role if this is not an active user.
I'm going to have another subdomain, members.mydomain.com.
Only those users with "member" role in those subdomains are able to access to members.mydomain.com.
In members.mydomain.com, how am I going to retrieve the user login info and user role from different subdomain?