cancel
Showing results for 
Search instead for 
Did you mean: 

HCM scenario: generate unique user from first name / last name

frank_wagner2
Participant
0 Kudos

Hello,

in many companies it is a common scenario to have at least for AD accounts usernames like firstName.lastName@corp.

Does someone has experience and some recommendation how to generate such account names from identies generated in a HCM scenario?

I think about a solution like this:

- in the exit script for user generation you read first name / last name from current table content in staging area

- then the scripts builds a username and reads active directory or master area to check if user is unique, if not a counter is added to name

What do you think about this?

Best Regards,

Frank Wagner

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Matt's own blog post from a few years ago shows a solution similar to the one you suggest, Frank.

http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/12027

Edited by: Chris Foley on Feb 24, 2012 6:42 PM

former_member2987
Active Contributor
0 Kudos

Yeah, that was a scenario I developed for a client that specifically wanted unique non name based MSKEYVALUEs. The same basic technique shoud also be used to ensure that incoming MSKEYVALUEs are unique as well (unless of course you are using something like PerNr.)

former_member2987
Active Contributor
0 Kudos

Frank this is a pretty standard IDM Scenario.

There are a few identity related AD attributes that you need to consider:

sAMAccountname, which is the login id, is usually firstname.lastname

userPrincipalName, is the domain login, and is usually firstname.lastname [a t ] company.com

Displayname is usually firstname lastname

email is usually firstname.lastname [a t ] company.com

There's undoubtedly others and I think you get the drift at this point.

In IDM these can all be set in a toLDAP pass.

Hope this helps