GBS SMART User Creation
Overview
This manual details the procedure for creating GBS SMART users.
Every user must have an LDAP account to log in.
All GBS Smart configurations and data are inside the schema SMART.
The table
Usercontains basic information about the user.The table
UserPermissionrelates users to their permissions through the fieldsUserIdandPermissionId(see List of Available Permissions).The table
UserStationrelates users to stations through the fieldsUserIdandStationId.
Procedure
Create a new workstation in the table Station
To create a new workstation, or station, insert a record into the table SMART.Station filling the following columns:
StationId: Fill with an incremental ID for the station.Description: Fill with the station name.MandatoryConference: Indicate whether the station's transactions should go to mandatory conference (1for yes,0for no).CityId: Indicate the ID of the city where the station is located.
The station ID (StationId) will be used in the next steps.
Create a new user in the table User
To create a new user, insert a record into the table SMART.User filling the following columns:
CPF: Fill with the user's CPF.Username: Fill with the username.Admin: Indicate whether the user is an administrator (1for yes,0for no).Active: Indicate whether the user is active (1for active,0for inactive). The default value is1.Pguid(optional): Fill with the user's PGUID in the biometric database.
The column UserId is auto-increment. The user ID will be used in the next steps.
Assign permissions to the user in the table UserPermission
After creating the user, you must assign their permissions. To do this, insert a record into the table SMART.UserPermission for each permission the user should have, relating the UserId with the PermissionId.
List of available permissions
The PermissionId is specified in the following table:
1
Permission to list civil registration, 2nd copy, etc.
CIVIL
2
Permission to list criminal records.
CRIMINAL
3
Permission to view the layout screen.
LAYOUT
4
Permission to view the advanced search screen.
SEARCH
5
Permission to perform biometric capture.
CAPTURE
6
Permission to download biometrics, print protocol and record.
DOWNLOAD
7
Permission to perform biographical verification.
CONFERENCE
8
Permission to perform package check-in.
PACKAGE
Associate the user to a station in the table UserStation
Insert a record into the table UserStation relating the UserId with the StationId. The station must be previously configured in the table SMART.Station, as explained above.
UserId: Use theUserIdof the user, as shown in the tableSMART.User.StationId: Fill with the ID of the station to which the user will be associated, as shown in the tableSMART.Station.
Procedure for creating User, assigning station and permissions
Example call of the procedure
Arguments:
CPF (numbers only)
Username (same as LDAP)
Admin (
0: false,1: true)Active (
0: false,1: true)PGUID of GBDS (search CPF in GBDS)
Station ID
Permissions separated by comma
Call the stored procedure to insert a new user:
The example above creates a new user with CPF 123.456.789-00, username new_user, not an administrator, active, without PGUID, associated to the station with ID 1 and with the permissions 1,4,5,6,7.
Last updated
Was this helpful?

