Developer forum

Forum » Development » Extranet users

Extranet users


Reply
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

Replies

 
Nicolai Høeg Pedersen
Reply
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'

 
Reply
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. :)
 
Nicolai Høeg Pedersen
Reply

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