Trying to get groups (memberOf) using late property binding not working

Sep 20 at 6:31 PM
I am trying to get the groups a user belongs to by creating a property on my User class:

public string[] Groups {get;set;}

and then mapping that in my ClassMap by simply:

Map(x => x.Groups).Named("memberOf");

That only returns the FIRST group a user belongs, when there are many more associated. How can I fix that?