On this page:
Please refer to the diagram of the Crowd database schema.
Name |
Description |
|---|---|
APPLICATION |
All applications listed in Crowd. |
APPLICATIONADDRESSES |
Remote addresses currently assigned to each application. |
APPLICATIONCREDENTIALS |
Hashed version of passwords used for each application. This should match the non-hashed version in the application's |
APPLICATIONDIRECTORIES |
Directories assigned to each application. |
APPLICATIONGROUPS |
Groups assigned to each application. |
ATTRIBUTES |
Attributes of directories, applications and users. |
ATTRIBUTEVALUES |
Actual values of directory, application and user attributes. |
DIRECTORY |
All directories listed in Crowd. |
DIRECTORYPERMISSIONS |
Permissions for adding, modifying and removing users, groups and roles from a directory. |
PRINCIPALCREDENTIALHISTORY |
|
REMOTEGROUP |
Groups from internal directories. |
REMOTEGROUPMEMBERS |
Group members from internal directories. |
REMOTEPRINCIPAL |
Users from internal directories. |
REMOTEPRINCIPALCREDENTIALS |
Hashed passwords for each user. |
REMOTEROLE |
Roles from internal directories. |
REMOTEROLEMEMBERS |
Role members from internal directories. |
SERVERPROPERTY |
Various server properties. Names are stored as long (L) values. |
TOKEN |
User and application session tokens. |
applicationdirectorypermission |
Application-level permissions for adding, modifying and removing users, groups and roles from a directory. |
hibernate_unique_key |
Values for ResettableTableHiLoGenerator. |
|
The following examples are written for a PostgreSQL database. SQL syntax may vary for other databases. |
Examples in this section:
Finding Users that are Members of a Group
Where Finding Attributes for a Specific Directory
Where Finding Attributes for a Specific User
Where Finding Attributes for a Specific Application
Where Finding the Users which Belong to a Group
Where Finding the Groups which have Administrative Access to Crowd
|
|
Before making changes to the Crowd database via SQL, please ensure you have an immediate backup of the Crowd database. |
Examples in this section:
Resetting a User's PasswordThe example below resets a user's password to "admin" (no quotes):
Where |