I don't think you can not retreive username from ucm because UDP Profiles and Phones have to be assigned/associated with the RmCm "Application User".
Getting Started
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: