authentication
authentication
authentication
Security authentication functions
Metadata
addUserToGroup()
Adds a user to a given group in the preffered userdirectory
Arguments
Name |
Type |
Required |
Default |
Options |
Description |
userlogin |
String |
Yes |
|
|
|
groupname |
String |
Yes |
|
|
|
userdirectory |
String |
Yes |
|
|
|
createGroup()
Creates a new user Group
Arguments
Name |
Type |
Required |
Default |
Options |
Description |
groupName |
String |
Yes |
|
|
|
userDirectory |
String |
Yes |
|
|
|
groupNotes |
String |
No |
|
|
|
createUser()
Adds a new user to the datastore
Arguments
Name |
Type |
Required |
Default |
Options |
Description |
userlogin |
String |
Yes |
|
|
|
userDirectory |
String |
Yes |
|
|
|
userStatus |
String |
Yes |
|
|
|
userNotes |
String |
No |
|
|
|
userPassword |
String |
Yes |
|
|
|
deleteGroup()
Deletes a group from the datastore
Arguments
Name |
Type |
Required |
Default |
Options |
Description |
userdirectory |
String |
No |
|
|
|
groupname |
String |
No |
|
|
|
deleteUser()
Deletes a user from the datastore
Arguments
Name |
Type |
Required |
Default |
Options |
Description |
userid |
String |
Yes |
|
|
Unique userid of user to delete |
userdirectory |
String |
Yes |
clientud |
|
user directory user belongs to |
dsn |
String |
Yes |
|
|
|
getGroup()
Returns group data
Arguments
Name |
Type |
Required |
Default |
Options |
Description |
userdirectory |
String |
No |
|
|
|
groupName |
String |
No |
|
|
|
groupId |
String |
No |
|
|
|
getMultipleGroups()
Gets array of groups, filtered by userlogin, userdirectory.
Arguments
Name |
Type |
Required |
Default |
Options |
Description |
userlogin |
String |
No |
|
|
|
userdirectory |
String |
Yes |
|
|
|
bInvert |
String |
No |
0 |
|
Flag to get groups userlogin is not a member of. (CRACK! GB) |
getMultipleUsers()
Gets all users for userlogin. Can be filtered to specific user directories otherwise is all user directories.
Arguments
Name |
Type |
Required |
Default |
Options |
Description |
userid |
String |
No |
|
|
|
userlogin |
String |
No |
|
|
|
fragment |
String |
No |
|
|
|
lUserDirectories |
String |
No |
|
|
|
getUser()
Retreives user info from the datastore
Arguments
Name |
Type |
Required |
Default |
Options |
Description |
userDirectory |
string |
Yes |
|
|
Datasource name for userdirectory. |
userlogin |
String |
No |
|
|
|
userid |
String |
No |
|
|
|
getUserAuthenticationData()
If logged in, returns a structur of the users specific session information
Arguments
Name |
Type |
Required |
Default |
Options |
Description |
None |
getUserDirectory()
Gets all the userdirectories filtered by type and returns them as a structure.
Arguments
Name |
Type |
Required |
Default |
Options |
Description |
lFilterTypes |
string |
No |
|
|
List of user directory types to filter on. |
UDScope |
struct |
No |
[runtime expression] |
|
Structure of userdirectories. Defaults to aplication.dmsec.userdirectory |
initDMSECSessionVars()
Arguments
Name |
Type |
Required |
Default |
Options |
Description |
userlogin |
String |
Yes |
|
|
This user structure can be returned from getUser() |
userdirectory |
String |
Yes |
|
|
Daemon,ADSI |
login()
Logs in the user using userlogin and password, optionally limited to userdirectory.
Arguments
Name |
Type |
Required |
Default |
Options |
Description |
bAudit |
String |
No |
0 |
|
Log this login? |
userLogin |
String |
Yes |
|
|
The users login name |
userPassword |
String |
Yes |
|
|
The users password |
userdirectory |
String |
No |
|
|
|
logout()
Logs the user out of the system
Arguments
Name |
Type |
Required |
Default |
Options |
Description |
bAudit |
boolean |
No |
false |
|
|
note |
string |
No |
[runtime expression] |
|
|
removeUserFromGroup()
Arguments
Name |
Type |
Required |
Default |
Options |
Description |
userLogin |
String |
Yes |
|
|
|
groupName |
String |
Yes |
|
|
|
userDirectory |
String |
Yes |
|
|
|
updateGroup()
Updates group data
Arguments
Name |
Type |
Required |
Default |
Options |
Description |
groupID |
String |
Yes |
|
|
|
groupName |
String |
Yes |
|
|
|
groupNotes |
String |
No |
|
|
|
updateUser()
Updates users login data
Arguments
Name |
Type |
Required |
Default |
Options |
Description |
userid |
String |
Yes |
|
|
|
userlogin |
String |
Yes |
|
|
|
userDirectory |
String |
Yes |
|
|
|
userStatus |
String |
Yes |
|
|
|
userNotes |
String |
No |
|
|
|
userPassword |
String |
Yes |
|
|
|