security login by method

Questions, tips and tricks and techniques for scripting in Servoy

security login by method

Postby Harjo » Tue Jun 24, 2003 1:54 pm

HJK wrote earlier
Yes I know, but we always built ouer own acces to all ouer solutions. Why? In practice, a lot of ouer users (customers) do not have the knowledge to administrate such a kind of login-structure. (some of them, can't even read English!) So we build ouer own (simple) system, where a super-user can add another (new) user to the system and put this user in a categorie.
Categories are: Super-User, User (can't delete records), Editer (can't delete or create records, only edit) Guest (can only view data)
So the customer can simple administrate the solution.
My next question is: Can I automate the login (I mean the already built-in login) bij methods??
We do this in Filemaker, with a special plugin. DIALOGFM


Did get any answer yet! is it possible?

Or is it possible to set the current Username by a method?
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Postby Jan Blok » Tue Jun 24, 2003 4:51 pm

It is planned to add 2 things:
-a user_administrator , which can only add/remove users (in groups), and not do anything else in security dialog
-a security JavaScript object, with the following methods:
security.getUserName()
security.getUserID()

So it is not yet possible...
Jan Blok
Servoy
Jan Blok
 
Posts: 2684
Joined: Mon Jun 23, 2003 11:15 am
Location: Amsterdam

Postby Harjo » Wed Jun 25, 2003 10:09 pm

security.getUserName()
security.getUserID()


What does these funtions do exactly?
Can you ask the username or can you set the username with your own value?

Asking can already be done, am I right?
What is the difference between the already presence of: getUsername?

I hope I can set the Username (from my own userdatabase) than I can use this name by all my creator and/or modifier fields.
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands


Return to Methods

Who is online

Users browsing this forum: No registered users and 6 guests