WHAT YOU'LL LEARN
  • What use cases are available in webiny/api/security/user?
  • Which event handlers can you implement?
  • How to import and use each exported item?

Overview
anchor

This page documents everything exported from webiny/api/security/user. Import any of the items below directly from this path in your Webiny extensions.

Use Cases

Event Handlers

Use Cases
anchor

CreateUserUseCase
anchor

Use Case Abstraction — imported from webiny/api/security/user

Interface CreateUserUseCase.Interface:

Types:

Usage:

extensions/MyImpl.ts

DeleteUserUseCase
anchor

Use Case Abstraction — imported from webiny/api/security/user

Interface DeleteUserUseCase.Interface:

Types:

Usage:

extensions/MyImpl.ts

GetUserUseCase
anchor

Use Case Abstraction — imported from webiny/api/security/user

Interface GetUserUseCase.Interface:

Types:

Usage:

extensions/MyImpl.ts

ListUsersUseCase
anchor

Use Case Abstraction — imported from webiny/api/security/user

Interface ListUsersUseCase.Interface:

Types:

Usage:

extensions/MyImpl.ts

ListUserTeamsUseCase
anchor

Use Case Abstraction — imported from webiny/api/security/user

Interface ListUserTeamsUseCase.Interface:

Types:

Usage:

extensions/MyImpl.ts

UpdateUserUseCase
anchor

Use Case Abstraction — imported from webiny/api/security/user

Interface UpdateUserUseCase.Interface:

Types:

Usage:

extensions/MyImpl.ts

Event Handlers
anchor

UserAfterCreateEventHandler
anchor

Event Handler Abstraction — imported from webiny/api/security/user

Interface UserAfterCreateEventHandler.Interface:

Types:

Usage:

extensions/MyHandler.ts

UserAfterDeleteEventHandler
anchor

Event Handler Abstraction — imported from webiny/api/security/user

Interface UserAfterDeleteEventHandler.Interface:

Types:

Usage:

extensions/MyHandler.ts

UserAfterUpdateEventHandler
anchor

Event Handler Abstraction — imported from webiny/api/security/user

Interface UserAfterUpdateEventHandler.Interface:

Types:

Usage:

extensions/MyHandler.ts

UserBeforeCreateEventHandler
anchor

Event Handler Abstraction — imported from webiny/api/security/user

Interface UserBeforeCreateEventHandler.Interface:

Types:

Usage:

extensions/MyHandler.ts

UserBeforeDeleteEventHandler
anchor

Event Handler Abstraction — imported from webiny/api/security/user

Interface UserBeforeDeleteEventHandler.Interface:

Types:

Usage:

extensions/MyHandler.ts

UserBeforeUpdateEventHandler
anchor

Event Handler Abstraction — imported from webiny/api/security/user

Interface UserBeforeUpdateEventHandler.Interface:

Types:

Usage:

extensions/MyHandler.ts