Getting realname as default value in cck field

bfr - July 8, 2009 - 08:31
Project:RealName
Version:6.x-1.x-dev
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

I have a text field which i want to pre-populate with users real name(could be also other than text field, any field that works as a dropdown when used as views filter).
I figured i can use "default value" field, but cant figure the actual php code to fetch the information.. could someone please help?

 
 

Drupal is a registered trademark of Dries Buytaert.