VIDEO_OA_getUserPermission()
The function returns the authorization for the given action.
Synopsis
bool VIDEO_OA_getUserPermission(string level);
Parameters
Parameter | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
level |
Inquired authorization level:
|
Return Value
1 = Authorization for the requested level available
0 = Authorization for the requested level not available or the given level is not know.
Errors
Missing or wrong arguments
Description
The function returns the authorization for the given action.
EXAMPLE
main()
{
DebugN(VIDEO_OA_getUserPermission("perm_1");
}
Assignment
Video functions
Availability
UI, CTRL