I'm having problem logging extranet users in with the security object.
When a user creates a profile I set the AccessUserParentID to 0 and groups to @255@.
I'm not sure what the required fields in the accessuser database should contain.
Could someone guide me in this or is there some documentation anywhere on the subject?
- Sune
Developer forum
E-mail notifications
Extranet users
Posted on 18/09/2007 08:50:49
Replies
Nicolai Høeg Pedersen
Posted on 18/09/2007 10:17:07
sune@fonqi.dk wrote:
I'm having problem logging extranet users in with the security object.
When a user creates a profile I set the AccessUserParentID to 0 and groups to @255@.
I'm not sure what the required fields in the accessuser database should contain.
Could someone guide me in this or is there some documentation anywhere on the subject?
- Sune
Hi Sune
When generating an extranet user from code do like this:
- Create one or more extranet groups from the backend to start with - find the ID
- Set AccessUserParentID ID to 0
- Set AccessUserGroups to @#@ where # is the ID of the extranet group created in first step. If more than one group is needed the format is @#@@#@@#@ and so on.
- Set AccessUserType to 15 (extranet user) - 11 is extranet group
- Set AccessUserValidFrom to now()
- Set AccessUserValidTo to '2999-12-31'
Posted on 21/09/2007 09:26:21
thanx for the reply it works fine now.
I guess I was confused by the Accesstype table where accesstypeID 15 is an Employee, where I figured accesstypeID 5 "Users" where the way to go. :)
I guess I was confused by the Accesstype table where accesstypeID 15 is an Employee, where I figured accesstypeID 5 "Users" where the way to go. :)
Nicolai Høeg Pedersen
Posted on 21/09/2007 09:29:11
Hi Sune
I know it aint easy. User management is high on the list of things that needs to be updated...
You must be logged in to post in the forum