Codestore: It’s Always The Simple Tips That Are Best

Replace

Dim tmpVar as Variant
Dim commonUsername As String
tmpVar = Evaluate( |@Name( [CN] ; @UserName )| )
commonUsername = tmpVar(0)

with

Dim commonUsername As String
commonUsername = Implode(Evaluate(|@Name([CN];@UserName)|))

See full post at Codestore.net (It’s Always The Simple Tips That Are Best) and a link to Tommy who first blogged about it.

Published by

lekkim

Positive, competent, out-spoken, frank and customer focused architect and developer with a strong foundation in web, cloud and product development. I'm a strong advocate for API first and cloud based solutions and development. I have a knack for being able to communicate and present technically complicated matters in conference, customer and training settings. I've previously acted as team member and leader in a product organisation.