Old revisions Add to book Export to PDF Access Control API > BS2_SetAccessGroup BS2_SetAccessGroup Configures an access group. Declaration #include "BS_API.h" int BS2_SetAccessGroup(void* context, uint32_t deviceId, BS2AccessGroup* accessGroups, uint32_t accessGroupCount); See BS2AccessGroup Structure Parameter [In] context : Context [In] deviceId : Device ID [In] accessGroups : List of access groups to be stored [In] accessGroupCount : Number of access groups Return Value If successfully done, BS_SDK_SUCCESS will be returned. If there is an error, the corresponding error code will be returned. See Also BS2_GetAccessGroup BS2_GetAllAccessGroup BS2_RemoveAccessGroup BS2_RemoveAllAccessGroup