I have one question though: I need to reference this new datatype, but I cannot seem to get it to be displayed among the available datatypes, when I create a field of the type "Data Reference". Do I need to modify some kind of configuration file, to make my custom data types available for use in the Console?Add the following attributes to IRoleData:
[Title("Role")] // Type title that shown in dropdowns
[RelevantToUserType(UserType.Developer)] // Makes it appear in drop down, also adds build in generated functions like GetIRoleDataXml etc.