Hey Cautoo,
Effectively I am looking to relay on MemberOf instead of EduPersonEntillement Attribute and having a way to map WordPress role to value set in “MemberOf” attribute.
MemberOf value will be set set from AD group the user belongs to.
your suggestion already allow to set a custom attribute like “Member Of” instead of PersonEduEntillement, however I would be glad to extended to other role beyond Admin (e.g. contributor)
So
1) Get the UI part that allow to set which value for “MemberOf” will be mapped to a give role (default = subscriber)
2) coding part that will be effectively set the role to the user based on value found in “MemberOf”
–> Anything done already ?