AzureCP : Add wild card feature
Closed this issue · 4 comments
Hello Yvan,
Here is the context for the client i'm working for :
- to resolve user identities we have no specific issues so far
- to resolve group identities : the end users knows only part of the DisplayName or SamAccountName
Which led us to make some modifications in the LDAPCP for SharePoint 2013, to include a wildcard for the resolveInput in the FillResolve Method , to allow the end user to resolve group identites, by knowing only a piece of the samaccountname or display name.
I'd like to know if you can consider to add this feature in the azureCP ?
You can contact me on linkedin : https://www.linkedin.com/in/s%C3%A9bastien-pierre-75167329/
I already tried to contact you but i didn't get any answer so far.
I will be glad to be able to have a discussion about it with you.
Best regards,
Sébastien.
Hello @Sebkpierre is it not already doing that?
Currently, I can type "aadg", and AzureCP returns all groups which start with this name
Hello @Yvand , sorry i should have give you a more relevant example, our groups are structured this way :
PREFIX-SUBPREFIX-NAME-SUFFIX
Our issue here is that the end users only knows the name of the group, and not the PREFIX, SubPREfIX or the naming convention in General.
So for a group with a SamaccountName PREFIX-SUBPREFIX-AE-SUFFIX, if the user is searching only the part he is aware of, the ResolveFill method do not retrieve anything.
And you're right, the rule is a StartsWith, and we would like to know if you can include an option to switch from a StartsWith condition to a Contains condition.
It will be easier for us if we just deploy the solution, each time you release something, rather than having a integration phase to merge your release and ours.
Best regards,
Sébastien.
Hello @Sebkpierre, I understand.
This project is open source and contributions are very welcome.
Why don't you submit a PR that gives the possibility to use Contains instead of StartsWith?
By default AzureCP should remain with StartWith, but you can add a setting to use Contains instead (to set in PowerShell).
Can you do that ?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.