AspNetCore Identity simple console manager
Manage users, roles and claims
Compatible with UserManager<IdentityUser> and RoleManager<IdentityRole>
Supported databases: My SQl, Ms SQL
Add new user, roles, claims
cmanager add-user Tom --claims Name:Tomas "City:Big City" --user-phone +79171234567 --password 123!@#qweQWE --role-names User
Admin NewRole
-r, --role-names - Required. Roles
-p, --password - Required. Password
-m, --user-email - Email
-h, --user-phone - Phone
-c, --claims - Claims
value pos. 0 - Required. User name
cmanager update-user Tom --claims Name:Bobby "City:New York" --user-phone +7917999988 --new-name Bob --password
NewPassword!@#123 --role-names User Admin NewRole
-r, --role-names - New Roles
-p, --password - New Password
-n, --new-name - New user name
-m, --user-email - New Email
-h, --user-phone - New Phone
-c, --claims - New Claims
value pos. 0 - Required. User name
cmanager find-user [UserName]
value pos. 0 - User name
cmanager delete-user Tom
value pos. 0 - Required. User name
cmanager create-role NewRoleName
value pos. 0 - Required. Role name
Get all roles
cmanager all-roles
Add role to user
cmanager add-role Tom Role1 Role2
value pos. 0 - Required. User name
value pos. 1 - Required. Roles
cmanager delete-role Role1 Role2
value pos. 0 - Required. Roles
cmanager rename-role RoleName NewRoleNAme