Extracted from Pike v7.4 release 117 at 2004-07-26.
pike.ida.liu.se
[Top]
predef::
Pike
Pike.Security

Method Pike.Security.call_with_creds()


Method call_with_creds

mixed Pike.Security.call_with_creds(Creds creds, mixed func, mixed ... args)

Description

Call with credentials.

Sets the current credentials to creds , and calls

func (@args )
. If creds is 0 (zero), the credentials from the current object will be used.

Note

The current creds or the current object must have the allow bit BIT_SECURITY set to allow calling with creds other than 0 (zero).