javascript - Get only Common Name of User Group from Active Directory -
i try common name of user active directory javascript code:
system.log(aduser.getattribute("memberof"));
the result of code that:
cn=groupname,ou=other,ou=orgunit,ou=mycompany,dc=mydomain,dc=int
İ want pull cn attribute of result. when execute code result should “groupname” regex last option.
Comments
Post a Comment