Child pages
  • Security

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Hidden
DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY, UNLESS YOU KNOW WHAT YOU'RE DOING.		THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO EXTRACT CHANGES FROM THE PAGE AND MERGE THEM BACK INTO SERVOY SOURCE


HTML Table
idclassservoy sReturnTypes
Table Row (tr)
styleheight: 30px;
Table Head (th)
Return Types
Table Row (tr)
Table Cell (td)


id
HTML Table
classservoy sSummery
Colgroup Tag
Column
padding0px
width80px

Column

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Constants Summery
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#ACCESSIBLE
Constant representing the accessible flag for form security.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#DELETE
Constant representing the delete flag for table security.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#INSERT
Constant representing the insert flag for table security.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#READ
Constant representing the read flag for table security.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#TRACKING
Constant representing the tracking flag for table security.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#UPDATE
Constant representing the update flag for table security.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#VIEWABLE
Constant representing the viewable flag for form security.

id
HTML Table
classservoy sSummery
Colgroup Tag
Column
padding0px
width80px

Column

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Method Summery
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)
#addUserToGroup(a_userUID, groupName)
Adds an user to a named group.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Object
Table Cell (td)
#authenticate(authenticator_solution, method)
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Object
Table Cell (td)
#authenticate(authenticator_solution, method, [credentials])
Authenticate to the Servoy Server using one of the installed authenticators or the Servoy default authenticator.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)
#canDelete(dataSource)
Returns a boolean value for security rights.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)
#canInsert(dataSource)
Returns a boolean value for security rights.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)
#canRead(dataSource)
Returns a boolean value for security rights.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)
#canUpdate(dataSource)
Returns a boolean value for security rights.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)
#changeGroupName(oldGroupName, newGroupName)
Changes the groupname of a group.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)
#changeUserName(a_userUID, username)
Changes the username of the specified userUID.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)
#checkPassword(a_userUID, password)
Returns true if the password for that userUID is correct, else false.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#createGroup(groupName)
Creates a group, returns the groupname (or null when group couldn't be created).
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Object
Table Cell (td)
#createUser(username, password, [userUID])
Creates a new user, returns new uid (or null when group couldn't be created or user alreay exist).
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)
#deleteGroup(groupName)
Deletes a group, returns true if no error was reported.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)
#deleteUser(userUID)
Deletes an user.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#getClientID()
Returns the client ID.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
JSDataSet
Table Cell (td)
#getElementUUIDs(formname)
Returns the form elements UUID's as dataset, the one with no name is the form itself.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
JSDataSet
Table Cell (td)
#getGroups()
Get all the groups (returns a dataset).
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#getSystemUserName()
Retrieves the username of the currently logged in user on operating system level.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
JSDataSet
Table Cell (td)
#getUserGroups()
Table Body (tbody)
Table Row (tr)
Table Cell (td)
JSDataSet
Table Cell (td)
#getUserGroups([userUID])
Get all the groups of the current user, finds the goups for given user UID if passed as parameter.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#getUserName([userUID])
Get the current user name (null if not logged in), finds the user name for given user UID if passed as parameter.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#getUserUID([username])
Get the current user UID (null if not logged in), finds the userUID for given user_name if passed as parameter.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
JSDataSet
Table Cell (td)
#getUsers()
Get all the users in the security settings (returns a dataset).
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)
#login(display_username, a_userUID, groups)
Login to be able to leave the solution loginForm.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#logout([solutionToLoad], [method], [argument])
Logout the current user.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)
#removeUserFromGroup(a_userUID, groupName)
Removes an user from a group.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)
#setPassword(a_userUID, password)
Set a new password for the given userUID.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#setSecuritySettings(dataset)
Sets the security settings; the entries contained in the given dataset will override those contained in the current security settings.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)
#setUserUID(a_userUID, newUserUID)
Set a new userUID for the given userUID.

...