GetList
CDBResult CSocNetUserPerms::GetList( array arOrder = array("ID" => "DESC"), array arFilter = array(), array arGroupBy = false, array arNavStartParams = false, array arSelectFields = array() );
The method returns list of access permissions according to filter. Static method.
Parameters
Parameter | Description | Available from version |
---|---|---|
arOrder | Sorting order for the returned list, specified as an array. Array keys are fields for sorting, values - ASC/DESC - sorting order. | |
arFilter | Array, specifying filter for the returned list. Array keys are field names, values are field values. | |
arGroupBy | Array, specifying grouping of resulting list. When this parameter contains an array of field names, these names are used to arrange the list entries' grouping. When the parameter contains an empty array, the method returns the number of entries, satisfying the filter. Default parameter is false - do not group. | |
arNavStartParams | Array, specifying the selected parameters for organizing pagewise navigation. | |
arSelectFields | Array, specifying selected field. Contains list of fields to be returned by the method. |
List of fields
ID- identifier,
USER_ID - user ID,
OPERATION_ID - operation,
RELATION_TYPE - type of association between users,
USER_NAME - user name,
USER_LAST_NAME - user last name,
USER_LOGIN - user login.
Returned value
The method returns CDBResult object, containing entries, satisfying selected returned parameters.
See Also
© «Bitrix24», 2001-2024