Obtain the document person

Hello,someone know how obtain the documentperson if I have just the Common Name (like CN=test/O=domtest) of a user?

Thank you

Regards

Erika Sciunzi