How to get firstname and lastname of a user(From Canonical Name).
Some user's firstname has two or three words and some user's lastname has two or three words.
most of the users has one word first name and oneword lastname. In this case i am not getting problem to retrive first and last names
i have to get the userinfo from nab. for this i am using getdocumentbykey. But for this i have to pass lastname.
please help to resolve this.