AnsweredAssumed Answered

Finding User Roles Modified By Date

Question asked by bb28895 on Jun 21, 2017
Latest reply on Jun 26, 2017 by bb28895

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?