1lsm_access_group_delete(3)Libstoragemgmt C API Manuallsm_access_group_delete(3)
2
3
4
6 lsm_access_group_delete - Deletes an access group.
7
9 int lsm_access_group_delete (lsm_connect *conn, lsm_access_group *ac‐
10 cess_group, lsm_flag flags);
11
13 conn Valid lsm_connect pointer.
14
15 access_group
16 Pointer of lsm_access_group to be deleted.
17
18 flags Reserved for future use, must be LSM_CLIENT_FLAG_RSVD.
19
21 1.0
22
24 Deletes an access group. Only access group with no volume masked can be
25 deleted.
26
28 LSM_CAP_ACCESS_GROUP_DELETE
29
31 Error code as enumerated by 'lsm_error_number'.
32 * LSM_ERR_OK
33 On success.
34 * LSM_ERR_INVALID_ARGUMENT
35 When any argument is NULL or not a valid lsm_connect pointer
36 or invalid flags.
37 * LSM_ERR_NOT_FOUND_ACCESS_GROUP
38 When access group not found.
39 * LSM_ERR_IS_MASKED
40 When access group has volume masked.
41 * LSM_ERR_NO_SUPPORT
42 Not supported.
43
44
45
46April 2023 lsm_access_group_delete lsm_access_group_delete(3)