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

cookies - Yii2 Advanced - Share session between frontend and mainsite (duplicate of frontend for www) -

angular - password and confirm password field validation angular2 reactive forms -

php - Permission denied. Laravel linux server -