Skip to main content
avillanueva
23-Emerald II
November 1, 2010
Question

Mass import of profile settings

  • November 1, 2010
  • 7 replies
  • 1208 views
I know I can import Profile configuration and it can include users as
well. The XML is tough to edit for users (not a simple username line).
I was wondering if I have an existing Profile, is there a way I can mass
import a whole bunch of usernames so they can be assigned to that
profile. My assumption is that this information is stored in the LDAP,
right? I would hate to have to do this one by one.

7 replies

22-Sapphire I
November 1, 2010
Better to assign the Profile to a group and use other tools to put people in the group?
1-Visitor
November 2, 2010
Yeah, you could assign it a group and use the LDIF to add/remove users of
that group. Runtime wise, you might have to clear and refresh MS principal
cache.



From: Lockwood,Mike,IRVINE,R&D [
avillanueva
23-Emerald II
November 2, 2010
When I looked up what Profiles actually were, it was a WTGroup (by
examining the URL). There is something wrong about using a group to
assign users to another group. Anyway, maybe I can use the load from
file tools and treat it like a normal group without creating another
one.


avillanueva
23-Emerald II
November 2, 2010
Looks like assuming it is a group and using the CSV2XML method
(csvUserGroup) does not work. I would have been a snap but the system
does not see the profiles as groups. Oh well, lob it to tech support.
Maybe I can edit the import XML for the profile to include the full DN
path of the users. It's a PITA though.


1-Visitor
November 2, 2010
Sounds logical also.

Roles and organizations are groups, so it makes sense to use a group for profiles.


Sent from my Verizon Wireless BlackBerry
1-Visitor
November 2, 2010
Set the profile to use a group and you can do exactly this. Just edit XML for profile once.

Sent from my Verizon Wireless BlackBerry
avillanueva
23-Emerald II
November 12, 2010
Looks like good ole mail merge in Word did the trick. Take another
profile on the system and add a member then export it. Look at the XML
and you will see something like this:

<wtprincipalreference classtype="wt.org.WTUser" isinternal="false"&lt;br"/>userEmail="[USERID HERE]@goodrich.com"><ufid>uid=[USERID
HERE],ou=people,cn=pdmlink,cn=application
services,o=oursite|Ldap.in.the.middle|Ldap.of.the.street</ufid></wtprinc<br/>ipalReference>

Replace the userid with the list of userids that you want to mass load
using a mail merge. Copy the whole list back to your import profile xml
file. Zip it and import. Be sure to double check the user ids that they
actually exist.