Avatar

Level 2
Thank you that was helpful

but how can i put the results in a list or dataField?



cSession.userManager.registerCustomUserField("score");

cSession.userManager.setCustomUserField(cSession.userManager.myUserID,"score",7);

var ud:UserDescriptor =
cSession.userManager.getUserDescriptor(cSession.userManager.myUserID);

Alert.show(ud.customFields["score"]);



<mx:DataGrid id="datag"
dataProvider="{cSession.userManager.userCollection}" >

<mx:columns>

<mx:DataGridColumn id="c1" headerText="Column 1"
dataField="displayName" />

<mx:DataGridColumn id="c2" headerText="Column 2"
dataField="customFields['score']" />// if there is an easy way
to put the results here it will be good for newbie.

</mx:columns>