Develop

memberOf could be a array because of a object(such as user) can be belong to multi-groups

example: object w10S was belong to 04 groups
 "0":"CN=globalmarkettings,OU=MARKETING,OU=company,DC=vpydio,DC=fr",
"1":"CN=algers,CN=Alger,OU=algeria,OU=Africe,OU=MARKETING,OU=company,DC=vpydio,DC=fr",
"2":"CN=algerias,OU=algeria,OU=Africe,OU=MARKETING,OU=company,DC=vpydio,DC=fr",
 "3":"CN=africes,OU=Africe,OU=MARKETING,OU=company,DC=vpydio,DC=fr"

1st CN indicates the name of group, from 2nd, CN indicate a container,
therefore, we just take the first "cn" element by breaking the for if we found.