• userBean in Java

    By Sachin Kulkarni 5 years ago

    when accessing userbean in java it provides results for commonName, distinguishedName,abbreviated name etc. but when I use it for accessRoles.. it doesn't work..and when I use userBean.accessRoles in SSJS, it just returns [Ljava.lang.String;@78877887. In java am using it as below

    Object object = UserBean.get().getField("accessRoles");

    return (String) object;