Hi guys,
Thanks I get it
no login password by query string !
Desperate time call for desperate measures. I am stuck with this problem.
As I explained here :
http://www.mono-software.com/Mono/Pages/Discussion/dtopic/Uy4tWsEzw0263aK5AQkrtg/Integrating-MonoX-with-another-database/
My goal is to use the group module in MonoX, We have groups in our app where users have a calender and documents that they can download from. We wanted to Implement a wall, MonoX is perfect for us for that purpose. I am trying to create a MonoX group for each group that we have in our app. Once the group is created I could put a link in our apps group page to the corresponding MonoX group. By clicking the link the user can land on the wall. To do that I need to create groups / users and link them together.
I managed to do so :
var group = GroupAdapter.GetInstance().CreateGroup(groupName);
var user = UserAdapter.GetInstance().CreateUser(adminUserName, passeword, mail);
GroupAdapter.GetInstance().JoinGroup(group.Id, user.Id);
GroupRepository.GetInstance().SetGroupMemberAsAdministrator(user.Id,group.Id, true);
(I would call an asp page [syncAgroup.aspx?groupId=2315] with the id of our group and I'll sync the group and users)
But when I call the asp page I am not connected to MonoX therefore I can't create any group (GroupAdapter.GetInstance().CreateGroup(groupName); this method is looking for a user_id as the creator of the group)
I tried something else, I managed to get a custom membership management to work with MonoX using credential from the other webapp but how to get both MonoX and the other webapp to share the session to let know MonoX the logged user?
Thanks for your reply
Regards
Logu