Skip to main content
Version: Next

Overview

The @abpjs/identity package provides complete user and role management components for ABP Framework applications.

npm version

Installation

npm install @abpjs/identity

Required peer dependencies:

npm install @abpjs/core @abpjs/theme-shared @abpjs/permission-management

Features

  • User Management - Complete CRUD for users with search and pagination
  • Role Management - Complete CRUD for roles
  • Permission Integration - Assign permissions to users and roles
  • Role Assignment - Assign roles to users
  • i18n Support - Full localization support

Main Exports

Components

ComponentDescription
UsersComponentComplete user management table with modals
RolesComponentComplete role management table with modals

Hooks

HookDescription
useUsersUser management with CRUD and pagination
useRolesRole management with CRUD
useIdentityCombined hook for users and roles

Services

ServiceDescription
IdentityServiceDirect API interaction for identity operations

Quick Example

import { UsersComponent, RolesComponent } from '@abpjs/identity';

function IdentityManagement() {
return (
<div>
<h1>User Management</h1>
<UsersComponent />

<h1>Role Management</h1>
<RolesComponent />
</div>
);
}

Required Permissions

PermissionDescription
AbpIdentity.UsersView users
AbpIdentity.Users.CreateCreate users
AbpIdentity.Users.UpdateUpdate users
AbpIdentity.Users.DeleteDelete users
AbpIdentity.Users.ManagePermissionsManage user permissions
AbpIdentity.RolesView roles
AbpIdentity.Roles.CreateCreate roles
AbpIdentity.Roles.UpdateUpdate roles
AbpIdentity.Roles.DeleteDelete roles
AbpIdentity.Roles.ManagePermissionsManage role permissions

NPM Package

View on npm: @abpjs/identity

Documentation