Get / GetByKey
Get the specificed user and their information.
Parameters
ctx
- The context of the request.
userKey
- The key of the user. This is the unique key of the user.
Implementation
user, err := Permit.Api.Users.Get(ctx, "user-key")
GetById
Get the specificed user and their information.
Parameters
ctx
- The context of the request.
userId
- The ID of the user. This is the unique key of the user.
Implementation
user, err := Permit.Api.Users.Get(ctx, uuid.String())