cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Mass import of profile settings

avillanueva
22-Sapphire II

Mass import of profile settings

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 7

Better to assign the Profile to a group and use other tools to put people in the group?

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
22-Sapphire II
(To:avillanueva)

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
22-Sapphire II
(To:avillanueva)

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.


Sounds logical also.

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


Sent from my Verizon Wireless BlackBerry

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
22-Sapphire II
(To:avillanueva)

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.
Announcements

Top Tags