Overview
User properties
As an authentication platform, Casdoor is able to manage users. Every user has these properties:
Owner
Owner organization of the userName
User name, uniqueCreatedTime
UpdatedTime
Id
Unique for every userType
Password
PasswordSalt
DisplayName
Shown in UIFirstName
LastName
Avatar
A link to user's avatarPermanentAvatar
Email
Phone
Location
Address
Affiliation
Title
IdCardType
IdCard
Homepage
Bio
Tag
Region
Language
Gender
Birthday
Education
Score
Karma
Ranking
IsDefaultAvatar
IsOnline
IsAdmin
Is the user the admin of his organizationIsGlobalAdmin
Does the user have the permission to manage the CasdoorIsForbidden
IsDeleted
SignupApplication
Hash
PreHash
CreatedIp
LastSigninTime
LastSigninIp
Roles
Array of the user's rolesPermissions
Array of the user's permissions
unique Id of the platform:
Github
Google
QQ
WeChat
Facebook
DingTalk
Weibo
Gitee
LinkedIn
Wecom
Lark
Gitlab
Adfs
Baidu
Casdoor
Infoflow
Apple
AzureAD
Slack
Steam
Ldap
Properties
This is a string -> string map, stored all other properties may need.
Import users from XLSX file
You can add new users or update existing Casdoor users by uploading a XLSX file of user information.
In the Admin Console, go to Users and click Upload(.xlsx) button.
Select your XLSX file and click Open, the users will be imported.
We provide a template XLSX file named user_test.xlsx
in the xlsx
folder. The template includes 5 users for test and headers for some required user properties.