SetPerm
int CSocNetUserPerms::SetPerm( int userID, string feature, string perm );
Modifies access permission for an operation, if available. Otherwise, adds new record. Static method.
Parameters
Parameter | Description | Available from version |
---|---|---|
userID | User ID. | |
feature | Feature name. | |
perm | Access permission. |
Returned value
Record ID when the update is saved successfully. Otherwise, returns false.
© «Bitrix24», 2001-2024