script privilege

script privilege

am 08.10.2007 17:34:53 von Shawn Hamzee

Hi everyone,

Is there a way to script a change of privilege set? For example, I have a
dozen privilege sets defined and I would like to be able to change to any of
them on the fly for testing purposes. Rather than closing the file and
re-logging back to it, I would rather execute a script that changes my current
privilege set to a specific one defined in the script.

thanks.
--
POST BY: lark with PHP News Reader

Re: script privilege

am 08.10.2007 17:51:33 von bill

In article ,
lark wrote:

> Hi everyone,
>
> Is there a way to script a change of privilege set? For example, I have a
> dozen privilege sets defined and I would like to be able to change to any of
> them on the fly for testing purposes. Rather than closing the file and
> re-logging back to it, I would rather execute a script that changes my current
> privilege set to a specific one defined in the script.
>
> thanks.
> --
> POST BY: lark with PHP News Reader

Sounds like you need to use the script step "Re-Login"

Just make a script that consists of that script step, then execute it
when you want to change your login. No need to close the database to do
it.

Make sure the several privilege sets allow execution of that script, so
that you can do it no matter what your current login.

Find the Re-Login script step in the Accounts group of script steps.

--
For email, change to
Bill Collins

Re: script privilege

am 08.10.2007 18:05:04 von Shawn Hamzee

== Quote from Bill (bbcollins@fake.net)'s article
> In article ,
> lark wrote:
> > Hi everyone,
> >
> > Is there a way to script a change of privilege set? For example, I have a
> > dozen privilege sets defined and I would like to be able to change to any of
> > them on the fly for testing purposes. Rather than closing the file and
> > re-logging back to it, I would rather execute a script that changes my current
> > privilege set to a specific one defined in the script.
> >
> > thanks.
> > --
> > POST BY: lark with PHP News Reader
> Sounds like you need to use the script step "Re-Login"
> Just make a script that consists of that script step, then execute it
> when you want to change your login. No need to close the database to do
> it.
> Make sure the several privilege sets allow execution of that script, so
> that you can do it no matter what your current login.
> Find the Re-Login script step in the Accounts group of script steps.


ah, good deal, didn't know about re-login. it's working for me as i'd wanted.
thanks for the tip.
--
POST BY: lark with PHP News Reader