SVC_SELF_SERVICE_USERS
This table is used to store self-service users. The user data is denormalized data from svc_self_service_roles table. This table acts as a master table to the svc_self_service_roles child table, and the parent-child relationship is maintained through the AccountPartyId and ContactPartyId attributes. The denormalization is done in order to improve performance since the VO query based on the svc_self_service_roles table will not be performant with a large number of users.
Details
-
Schema: FUSION
-
Object owner: SVC
-
Object type: TABLE
-
Tablespace: Default
Primary Key
Name | Columns |
---|---|
SVC_SELF_SERVICE_USERS_PK |
USER_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
USER_ID | NUMBER | 18 | Yes | Auto-generated number and primary key for this table. | |
USER_TYPE_CD | VARCHAR2 | 30 | Yes | Lookup code for the type of user. Possible values are Contact and Consumer. | |
ACCOUNT_PARTY_ID | NUMBER | 18 | The party identifier of the account that is associated with the user. | ||
CONTACT_PARTY_ID | NUMBER | 18 | Yes | The party identifier of the contact that is associated with the user. | |
INITIAL_IDP_CD | VARCHAR2 | 30 | Yes | Name of the initial identity provider of the user. | |
CURRENT_IDP_CD | VARCHAR2 | 30 | Yes | Name of the current identity provider of the user. | |
ROLE_CODES | VARCHAR2 | 2000 | Yes | A comma-separated list of role codes that are assigned to the user. | |
ACCOUNT_ADMIN_FLAG | VARCHAR2 | 1 | Yes | This column will store a flag value if the user has the account administrator role. | |
ACCOUNT_MGR_FLAG | VARCHAR2 | 1 | Yes | This column will store a flag value if the user has the account manager role. | |
CREATION_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the creation of the row. | ||
CREATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who created the row. | |
LAST_UPDATE_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the last update of the row. | ||
LAST_UPDATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who last updated the row. | |
LAST_UPDATE_LOGIN | VARCHAR2 | 32 | Who column: indicates the session login associated to the user who last updated the row. | ||
OBJECT_VERSION_NUMBER | NUMBER | 9 | Yes | Used to implement optimistic locking. This number is incremented every time that the row is updated. The number is compared at the start and end of a transaction to detect whether another session has updated the row since it was queried. |
Foreign Keys
Table | Foreign Table | Foreign Key Column |
---|---|---|
SVC_SELF_SERVICE_USERS | hz_parties | CONTACT_PARTY_ID |
SVC_SELF_SERVICE_USERS | hz_parties | ACCOUNT_PARTY_ID |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
SVC_SELF_SERVICE_USERS_F1 | Non Unique | Default | CONTACT_PARTY_ID |
SVC_SELF_SERVICE_USERS_N1 | Non Unique | Default | ACCOUNT_ADMIN_FLAG |
SVC_SELF_SERVICE_USERS_N2 | Non Unique | Default | ACCOUNT_MGR_FLAG |
SVC_SELF_SERVICE_USERS_PK | Unique | Default | USER_ID |
SVC_SELF_SERVICE_USERS_U1 | Unique | Default | ACCOUNT_PARTY_ID, CONTACT_PARTY_ID |
SVC_SELF_SERVICE_USERS_U2 | Unique | Default | LAST_UPDATE_DATE, USER_ID |