add_permission
Description:
Adds a permission to the connection's permission list.
At this time, only the "user" permission type is supported, and pitem
must be a username. See
permissions: for more details.
Parameters:
this | |
ptype |
the permission type; at this time only "user" is supported |
pitem |
the permission item formatted as required for |
detail |
unused at this time; must be null |
Returns:
true if the permission was unique and was successfully added to the list,
false if |