Skip to content

CreateUser

Source: src/AWS/QBusiness/CreateUser.ts

Runtime binding for the CreateUser operation (IAM action qbusiness:CreateUser), scoped to one Application.

Creates a user in the application’s user store, mapping the user id to data-source-specific aliases used for document access control. Provide the implementation with Effect.provide(AWS.QBusiness.CreateUserHttp).

const createUser = yield* AWS.QBusiness.CreateUser(app);
yield* createUser({
userId: "user@example.com",
userAliases: [{ userId: "corp\\user" }],
});