Add
int CSocNetUserPerms::Add( array arFields );
The method adds new record to the table of user profile access permissions. Static method.
Parameters
Parameter | Description | Available from version |
---|---|---|
arFields | Array of record parameters with keys USER_ID - User ID, OPERATION_ID - operation, RELATION_TYPE - type of association between users. |
Returned values
Returns an added record ID. Otherwise, returns false in case of an error.
© «Bitrix24», 2001-2024