Page 1 of 1

[not a bug] "firewhilemoving"...

Posted: Sat Feb 21, 2009 6:08 am
by guialtran
hi guys,
I'm testing the new privillege "firewhilemoving" and I can't manage how to make it work.


Use uo;

program teste(mobile)
GrantPrivilege( mobile, "firewhilemoving");
endprogram


Is it correct? I'm doing something wrong?
thanks in advance.

Re: "firewhilemoving"...

Posted: Sat Feb 21, 2009 6:14 am
by MuadDib
Don't forget (iirc), it also needs to be enabled. Or did we update that to auto enable? can't remember, been a while.

Check docs but you also need to Enable the priv after you grant it.

Re: "firewhilemoving"...

Posted: Sat Feb 21, 2009 6:31 am
by guialtran
tnx


GrantPrivilege( mobile, "firewhilemoving");
mobile.enable("firewhilemoving");