Creating Users/Groups with CSV-import

Post Reply
Toto
Posts: 71
Joined: Mon Jul 20, 2009 8:52 am
OLAP Product: TM1
Version: 9.5 Build 9.5.00100.2380
Excel Version: 2003

Creating Users/Groups with CSV-import

Post by Toto »

Hello,

I want to create users and groups and all the settings with an import.
What are the necessary steps?
I would guess the first step is to insert the new users in the }client-dimension, then insert new groups in the }groups-dimension, then make the connection users to groups.

Are there any important steps between I am missing?
Would you recommend to get one big csv with all settings (user, user properties, user settings, groups, users2groups etc.) inside?

Thanks a lot,

Toto
lotsaram
MVP
Posts: 3706
Joined: Fri Mar 13, 2009 11:14 am
OLAP Product: TableManager1
Version: PA 2.0.x
Excel Version: Office 365
Location: Switzerland

Re: Creating Users/Groups with CSV-import

Post by lotsaram »

Adding elements directly to the }Clients dimension and }Groups dimension and sending strings to the }ClientGroups cube will add the objects but more then likely all the changes to the security model will only take effect on a server restart. To correctly add users and groups to both the security model and the control objects you need to use the relevant security functions:
AddClient(ClientName);
AddGroup(GroupName);
AssignClientToGroup(ClientName, GroupName);

Note that you will need to change the GroupsCreationLimit tm1s.cfg parameter as the default maximum number of groups that can be created in a server session is 20.
Post Reply