remove_permission_by_value


Description:

public bool remove_permission_by_value (string ptype, string pitem, string? detail)

Removes the permission from the connection.

At this time, only the "user" permission type is supported, and pitem must be a username. See permissions: for more details.

Parameters:

this

the SettingConnection

ptype

the permission type; at this time only "user" is supported

pitem

the permission item formatted as required for ptype

detail

unused at this time; must be null

Returns:

true if the permission was found and removed; false if it was not.