I am trying to surface the dtmodified field in the Database table user_roles for a custom B2.
I have a Java class utilising the UserRoleDbLoader API and using the heavyweight method LoadByUserId. I am also using the PortalRoleDbLoader API with the lightweight method LoadSecondaryRolesByUserId.
According to the API documentation for both classes (PortalRole and UserRole) the method getModifiedDate should be inherited from BbObject. I was hoping that this would be enable me to access the dtmodified field.
However when I interrogate the BbObject.getBbAttributes method the modifiedDate is shown as null. So I'm obviously not using the APIs correctly.
Can anyone advise me where I might be going wrong?