Orep_Rs_Collection_ACL_Set()

Abstract

Sets the allowed users and roles for a collection.

Syntax

Orep_Rs_Collection_ACL_Set (OrepT_Rs_Collection *collection_ptr, PrgT_List *roles_lptr, PrgT_List *users_lptr)

Return Type

PrgT_Compcode

PrgC_Compcode_Success if the operation was successful; PrgC_Compcode_Failure otherwise.

orep_report_server.h

Details

Report Server uses the lists of users and roles to decide who can view and manage reports, on a per-collection basis. By default, all users have read and search access for the collection. If this function is used to change the defaults, only users either belonging to a group named in roles_lptr or explicitly named in users_lptr will have access.

The arguments are copied to the collection, so you are responsible for freeing the memory used by the roles_lptr and users_lptr lists. If multiple calls to this function are made with the same collection_ptr, only the data from the last call will be set.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com