Symptoms
How do I query for the first and last name using the out-of-the-box Active Directory Service2 Service instance? currently it isn't a property of any of its SmartObjects. It has DisplayName, but our company stores DisplayName as "Last, First". We'd like our notifications to display "First Last".
Diagnoses
Perhaps one of the options below will meet this requirement:
_1 The Community's Dynamic Active Directory Service Broker
http://community.k2.com/t5/K2-blackpearl/Dynamic-Active-Directory-Service/ba-p/869
I believe this broker may allow you to return other properties that the Out-of-the-box one currently does not, possibly the First Name and Last Name also. As this was not developed by K2, it is not supported by K2 Support so please thoroughly test this broker before implementation. Perhaps the same forum for this broker can provide you with assistance if needed.
_2 Depending on where you are attempting to use these fields, within Smartforms rule or perhaps within process email event/task notification you may be able to use Functions/Expression to convert the string 'Surname, FirstName' to the string 'FirstName Surname' instead:
http://community.k2.com/t5/K2-blackpearl/Display-Name-returned-as-Surname-Firstname/td-p/67192/page/2
http://help.k2.com/onlinehelp/k2blackpearl/userguide/current/webframe.html_function_browser.html
Resolution
The Community site would also be a great resources for perhaps other implementations that not covered in this post.
http://community.k2.com/