CCK select list and default values from array without writing custom module For my CCK select list options, I did:

//just making up firstName field to simplify example
$sql = "SELECT uid,firstName FROM users";
db_query($sql);
while($row = db_fetch_object($result)) {
  $uids[$row-&gt;uid] = $row-&gt;firstName;
}
return $uids;


This returns something like:

'1' =&gt; 'joe'
'2' =&gt; 'bob'
'3' =&gt; 'sarah'


Now in CCK, how do I programmatically set the the logged in user's id to be the default selected from the select list?  Furthermore, CCK's example of a default return value makes no sense to me:

return array(
  0 =&gt; array('value' =&gt; value for value),
  // You'll usually want to stop here. Provide more values
  // if you want your 'default value' to be multi-valued:
  1 =&gt; array('value' =&gt; value for value),
  2 =&gt; ...
);


I know I can do this with hook_form_alter, but I am trying this WITHOUT writing any custom module so I can learn CCK and make it easy for my future devs.
How about this:

global $user;
return array(
  0 =&gt; array( 'value' =&gt; $user-&gt;uid )
);