Create a Windows file and add it to the line in the user icon that calls the 
database. It should read as Buddy suggested. In the icon command line below, I 
called it DBLogin.dat

IF CVAL (‘USER’) <> (‘NETUSER’) THEN
PAUSE 2 USING ‘Not Authorized’
EXIT
RETURN

The icon would read along these lines. The default is RBASE.DAT but I would not 
recommend that, because that would give you indigestion every time you tried to 
log into the database.
C:\RBTI\RBGXE\RBGXE.exe DBLogin.dat

As Razzak would say “That’s all there is to it”

Albert


> On Aug 4, 2018, at 9:16 AM, Jim Belisle <[email protected]> wrote:
> 
> Buddy,
>  
> Thanks for the response.
> You are talking to someone who is very ignorant of how to even start down 
> this road.
>  
> At the present the DB is setup without IDs (USER is NONE) I need to know how 
> to get that setup in the first place.
> The code set var vu = (CVAL('USER')) gives my NONE as an answer.
>  
> So I will need to start from the beginning.
> We are talking about an application in which 12 to 15 users will be accessing 
> the DB.
> I do not know the passwords for the users.
>  
> James Belisle
>  
> Making Information Systems People Friendly Since 1990
> <image001.jpg>
>  
> From: [email protected] [mailto:[email protected]] On Behalf Of 
> Buddy Walker
> Sent: Saturday, August 4, 2018 10:02 AM
> To: [email protected]
> Subject: RE: [RBASE-L] - using user IDs and passwords for RBASE
>  
> Jim
>   Use the CVAL(‘USER’) and CVAL(‘NETUSER’)
>  
>   If CVAL(‘USER’) <> CVAL(‘NETUSER’) THEN
>    PAUSE 2 USI ‘Not Authorized’ 
>    EXIT
>   ENDIF
>    
>  Just make sure the CFG name matches the Network User Name.  This way you 
> won’t have to worry about R:Base password Windows should handle everything.
>  
> Buddy
>  
>  
> From: [email protected] <[email protected]> On Behalf Of Jim 
> Belisle
> Sent: Saturday, August 4, 2018 9:43 AM
> To: [email protected]
> Subject: [RBASE-L] - using user IDs and passwords for RBASE
>  
> We are needing to change our RBASE application so as to require user IDS and 
> passwords. Here is what we want to do.
> We want the computer login USER and password to be used as the login for 
> RBASE.
> In other words, I want this to be automatic so the user does not need to fill 
> in their user and password for each session of RBASE.
> When they log into the computer that information would go into variables and 
> RBASE would see it in either the CFG or DAT file.
> To possibly complicate matters, out IT has instituted a mandatory password 
> change within a certain time periods (ongoing into the future).
> Of course the code would have to take password changes into consideration.
> I noticed in the command pdf there is a WINAUTH command that looks promising, 
> however this is all new to me.  
>  
> I have an idea of what the code would have to do but have never really worked 
> with meshing what Windows “sees” with RBASE.
>  
> James Belisle
>  
> Making Information Systems People Friendly Since 1990
> <image001.jpg>
>  
> -- 
> For group guidelines, visit 
> http://www.rbase.com/support/usersgroup_guidelines.php 
> <http://www.rbase.com/support/usersgroup_guidelines.php>
> --- 
> You received this message because you are subscribed to the Google Groups 
> "RBASE-L" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.
> 
> -- 
> For group guidelines, visit 
> http://www.rbase.com/support/usersgroup_guidelines.php 
> <http://www.rbase.com/support/usersgroup_guidelines.php>
> --- 
> You received this message because you are subscribed to the Google Groups 
> "RBASE-L" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
For group guidelines, visit 
http://www.rbase.com/support/usersgroup_guidelines.php
--- 
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to