One of the features we would like to have with this index is to retrieve the list of all user locked out (see alias umbracoMemberLockedOut) but we couldn't achieve it.
I understand (via the documentation) that Umbraco is hiding some field on members by default for security reason.
var includeFields = Constants.Conventions.Member.GetStandardPropertyTypeStubs().Keys;
This line of code gets member's standard field and the "umbracoMemberLockedOut" is present inside.
But if I set a ValueSetValidator like this one when creating the index, it's not working.
Examine MemberIndex MemberValueSetValidator not working
Hello umbraco users/devs,
We are using examine (umbraco 8.6.1) with a custom index on Member content. We followed the documentation https://our.umbraco.com/documentation/reference/searching/examine/indexing/ to create it.
One of the features we would like to have with this index is to retrieve the list of all user locked out (see alias umbracoMemberLockedOut) but we couldn't achieve it.
I understand (via the documentation) that Umbraco is hiding some field on members by default for security reason.
This line of code gets member's standard field and the "umbracoMemberLockedOut" is present inside.
But if I set a ValueSetValidator like this one when creating the index, it's not working.
The field "umbracoMemberLockedOut" is not visible and querying it with examine gives no result at all.
As you can see on screenshot, the field "umbracoMemberLockedOut" is present in the include field but not in the result and impossible to query it.
Is this a bug? Do you have more information about this? Thank you
Did you also rebuild the index?
is working on a reply...