Results 1 to 3 of 3

Thread: Setting up a default support user

  1. #1
    Senior Member
    Join Date
    Apr 2012
    Location
    United Kingdom
    Posts
    657

    Setting up a default support user

    Can we programmatically add users to the system rather than having to use the user workspace ?

    The reason I ask is that in my vfp apps i automatically add a user named support and a password that I know.

    That way if I have to remote into a clients system I can always log in.

    The sttartup code checks for thsi user and if it is not there the code adds it, if the user has changed the support password the startup code puts it back to what it was before.

    This is very useful for support staff.

  2. #2
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,385
    Blog Entries
    22
    Quote Originally Posted by avianmanagement View Post
    Can we programmatically add users to the system rather than having to use the user workspace ?

    The reason I ask is that in my vfp apps i automatically add a user named support and a password that I know.

    That way if I have to remote into a clients system I can always log in.

    The sttartup code checks for thsi user and if it is not there the code adds it, if the user has changed the support password the startup code puts it back to what it was before.

    This is very useful for support staff.
    Yes of course. The table is system!sysroles.

    The password uses the built-in md5() function to encrypt it.

    In Lianja you can access tables across databases using the database!table notation.
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

  3. #3
    Senior Member
    Join Date
    Apr 2012
    Location
    United Kingdom
    Posts
    657
    Brilliant, thank you

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Journey into the Cloud
Join us