An argument of zero refers to the stack frame which invoked this method directly. Positive arguments increase the number of skipped stack frames. If you want to interrogate your caller, use a callerDepth of one. This method gets the list of principals at the caller depth and matches it with the given principal. An argument of zero refers to the stack frame which invoked this method directly.
Positive arguments increase the number of skipped stack frames.
If you want to interrogate your caller, use a callerDepth of one. This method returns the principals associated with a given stack frame. This may be useful to make sure you're being called by somebody you trust. An argument of zero refers to the stack frame which invoked this method directly. Positive arguments increase the number of skipped stack frames.