DataAccess API

Forum Home Forums Understanding the Software DataAccess API

This topic contains 1 reply, has 2 voices, and was last updated by Mikhail Mikhail 2 months, 1 week ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4837
    linkangsun
    linkangsun
    Participant

    Searching for userful API to access to database,I want to add a register function,and
    in register page,I need to check new user info,showAlerts such as “username has been used”,and write it to UserTable with Table head,such as ID,username,password,email,role.
    So the API I need maybe like that,
    bool Write(string username,string password,string email, Table GetTable(“User”))
    {
    ??? //related API in RapidScada
    }

    #4840
    Mikhail
    Mikhail
    Moderator

    Hi,

    1. Create your own database that contains user credentials.
    The database model is up to you.

    2. Create a module for SCADA-Server that checks user login and password.
    Use ModActiveDirectory as a template.
    Override ValidateUser method.

    3. Create a plugin to manage users.
    This is a plugin for Webstation that implements editing your database.
    Plugin examples are here.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.