canvas::API method account permissions (public)

 <instance of canvas::API[i]> account permissions \
    [ -permissions permissions ] account_id

Defined in packages/xooauth/tcl/canvas-procs.tcl

Returns permission information for the calling user and the given account. You may use `self` as the account id to check permissions against the domain root account. The caller must have an account role or admin (teacher/TA/designer) enrollment in a course in the account. Details: https://canvas.instructure.com/doc/api/accounts.html

Switches:
-permissions (optional)
Parameters:
account_id (required, integer)

Testcases:
No testcase defined.
[ show source ]
Show another procedure: