Security Management Language (SML)

Top  Previous  Next

Security Management Language provides a set of functions to script the tasks related to the security. The SML can be coded in the sml parameter of the SMLProcess of the security component. 

You should consider the following points when coding SML:.

1.Embedded MScript functions can be used within SML.
2.MScript symbols can be used as the SML function parameters.
 

Examples:

   @doif(b:newuser)
    CreateUser(username, password, fullname, email, false)
    AddRoleToUser(username, 'NORMAL_USER')
  @doelse()
    UpdateUser(username, fullname, email, disabled)
  @doend() 

 

SML Functions

User Related

LoginUser

LogoutUser

HasCheckPoint

CreateUser

UpdateUser

RemoveUser

ChangePassword

ResetPassword

AddRoleToUser

RemoveRoleFromUser

 

Role Related

SetRole

RemoveRole

AddCheckPointToRole

RemoveCheckPointFromRole

 

CheckPoint Related

SetCheckPoint

RemoveCheckPoint

 

Other

SetSubdomain

SetVar