This project is read-only.

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

Sep 20, 2017 at 7: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?