Stupid me. In my simplified example I did not show that I also had a "activated" property. And that property was not set by my code so it was allways null.
And in my linq query I checked if it was null before I did the search and if it was null i did nothing
Accessing a newly created member via Member.GetAll() fails
Hi.
I have a situation where I create new umbraco members via the Member class:
Afterwards I search in all users via the the following code:
This does not work.
I recall something about the properties need to be read before the database is contacted and the properties are populated.
Any Ideas?
Weird, this works for me (same idea):
If I go to the umbraco administraion, find my newly created member and press "save" it works.
Stupid me. In my simplified example I did not show that I also had a "activated" property. And that property was not set by my code so it was allways null.
And in my linq query I checked if it was null before I did the search and if it was null i did nothing
is working on a reply...