Hey there.
Does anyone know if there is a way to retrieve the roles for a user based on user id?
I know you can get roles for the current user (wixUsers.currentUser.getRoles()
But I would like to be able to get the roles for any user ie
wixUsers.getUserById(userId).getRoles();
Anyone have thoughts on this and whether it is possible?