Hello @lugehorsam, thanks for your reply!
In my scenario, users do not require to know each other’s ids. In any case, I solved my scenario as described in this topic How to write/load Global Storage Objects from Client without User Id
I just replaced ReadStorageObjectsAsync by ListStorageObjectsAsync.
I noticed that a Storage Object is uniquely identified by Collection + Key + User Id, so to read an Storage Object I actually need to know the user id of the owner of the object, but I can list all storage objects of a collection as far as they are configured as public read.
This is how I create the objects:
client.WriteStorageObjectsAsync(session, new WriteStorageObject
{
Collection = “active_matches”,
Key = match.Id,
Value = $"{{ “matchid”: “{match.Id}”}}",
PermissionRead = 2,
PermissionWrite = 1
});
This is how I list the objects:
IApiStorageObjectList activeMatchesList = client.ListStorageObjectsAsync(session, “active_matches”, 10).Result;