Providing a user access to a stream during creation and checking/setting permissions

Hi,

Is it possible to provide users access to one or more streams during creation using the UsersManager CreateUserAsync method? I notice a groups parameter and wondered whether these are analagus to streams?

Also, is there a way to check/set user permissions using the current C# client?

Finally, where does the documentation live for the api allowing this to be done?

Kind regards

Sean.

https://eventstore.org/docs/dotnet-api/stream-metadata/ look at the
ACL methods like SetWriteRoles

Hi,

Thanks greg, What are the groups used for and how are they created?
Kind regards
Sean.

C# API

public Task CreateUserAsync(string login, string fullName, string[]
groups, string password, UserCredentials userCredentials = null)

Its just a list of strings to group names. Same exists over http.
Groups just have their own permission set.
https://eventstore.org/docs/server/users-and-access-control-lists/index.html?tabs=tabid-http%2Ctabid-1%2Ctabid-3%2Ctabid-5
describes how the setup works.