Bulk Load for Viewpoint users

Viewpoint
Teradata Employee

Re: Bulk Load for Viewpoint users

The APIs that allow you to create users and assign them to roles are documented in the Viewpoint PDK.  com.teradata.viewpoint.security.identity.impl.IdentityManagerImpl would be the class to use.

However, if you are trying to set up role mappings based on Active Directory, Viewpoint already supports that out of the box!  In the LDAP Servers admin portlet, down at the bottom of the right hand column, you can create mappings to Viewpoint roles from AD.  You can map by user attribute (i.e. memberOf) or by LDAP groups if you happen to take that approach for managing users in AD.

Enthusiast

Re: Bulk Load for Viewpoint users

Trying to do the same user loading programmatically. How would one use ( if its possible) com.teradata.viewpoint.security.identity.impl.IdentityManagerImpl to add a user to viewpoint outside of the portal? We are trying to automate the teradata+viewpoint user creation. 

Highlighted
Enthusiast

Re: Bulk Load for Viewpoint users

We would like to use this API com.teradata.viewpoint.security.identity.impl.IdentityManagerImpl to load users from external scripts. Is this API usable from outside the portal JVM ? If so, what is the basic sequence of events on an external java program to create an user and assign a role?

The objective here is to automate user creation in viewpoint.

We are not using LDAP unfortunately.

Thanks.

Teradata Employee

Re: Bulk Load for Viewpoint users

Unfortunately you really can't use this particular API from outside the portal JVM.  The security system in Viewpoint integrates with our portal technology to handle user provisioning.  If you add a user using this API from outside the portal JVM, the user will not be added correctly and you won't be able to log in with that user.

Maybe you can provision the users into an LDAP repository, such as OpenLDAP, and then point Viewpoint to that repository.  That might be your easiest solution.

Enthusiast

Re: Bulk Load for Viewpoint users

On a similar subject, is it possible to migrate users, portlet layouts, permissions, alerts, etc. from one viewpoint server to another?

This will be a time consuming task, and is also prone to error.

If it isn't possible at the moment then can you look at this as a future enhancement?  Maybe you could have an option to export/import details to teradata tables.

Teradata Employee

Re: Bulk Load for Viewpoint users

In short, yes. Migrating your Viewpoint information including users, customizations, etc is documented in the Viewpoint Configuration Guide.

Enthusiast

Re: Bulk Load for Viewpoint users

Has there been any change on this subject since the last post? I've been asked to create 1500 Viewpoint users.

Teradata Employee

Re: Bulk Load for Viewpoint users

No, there haven't been any changes.  You should definitely use LDAP to manage 1500 users.  Even if you don't have a corporate LDAP server you can link to, just stand up an instance of OpenLDAP and point Viewpoint to that.