Home - News - Products - Downloads - Manuals - Forum - (trial) License - PriceList - Disclaimer - About
Joomlaboard-Forum  


jamesoldfield
User

Junior Boarder
Posts: 6
graphgraph
Karma: 0  
Group Membership - 2007/09/05 21:11 I can't seem to figure out how to assign a group membership upon user creation. Is there an ATTRIBUTE that I need to specify in the CFL and CSV files?

Thanks!
  | | The administrator has disabled public write access.
admin
Admin

Admin
Posts: 306
graph
Karma: 0  
Re:Group Membership - 2007/09/05 21:31 Hi,

If you want to add the groupmembership with the cfl/csv, then you have to add the [ATTRIBUTES] section to the CFL-file at the bottom of the file.

[ATTRIBUTES]
group membership=<colnr>

This will add the user to the group and the group to the user and will also set the Security Equals.
In the CSV-file the DN of the group must be given.

Don't forget to check the Check the option:
Use attributes from CSV-file, and take a look at the new tab CSV-Attr, here you can select the option clear before set.

You can add multiple lines with group membership=<colnr> to the CFL-file, but you can't use this in combination with the setting "Clear attribute before update" on the "CSV-attr" tab. I will fix that in the next version.

There are also several other options for setting groupmemberships:
- Template and/or context (sensative) template
- Manual values (not recommended for large groups of user adds)
- option add groups on the "Extra Groups" tab. (easiest!)

Post edited by: admin, at: 2007/09/05 21:32

Post edited by: admin, at: 2007/09/05 21:33
Hans Boone
  | | The administrator has disabled public write access.
jamesoldfield
User

Junior Boarder
Posts: 6
graphgraph
Karma: 0  
Re:Group Membership - 2007/09/05 23:14 Using the attribute worked perfectly. For the notes of others, I used the following in my CFL file:

CFLv1
csv=all-students-create2.csv
title=1
seperator=,
quote=none
!
user=1
userfl=0
password=2
passwordfl=1
surname=3

[ATTRIBUTES]
Given name=4
Group Membership=6
Full Name=5
  | | The administrator has disabled public write access.
admin
Admin

Admin
Posts: 306
graph
Karma: 0  
Re:Group Membership - 2007/09/05 23:33 Thx. Hans Boone
  | | The administrator has disabled public write access.
Page created in: 0.81 seconds - © Copyright 2002-2008 HBware.com