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

Popular posts from this blog

php - Permission denied. Laravel linux server -

google bigquery - Delta between query execution time and Java query call to finish -

python - Pandas two dataframes multiplication? -