lsm_access_group_delete - Man Page

Deletes an access group.

Synopsis

int lsm_access_group_delete (lsm_connect *conn, lsm_access_group *access_group, lsm_flag flags);

Arguments

conn

Valid lsm_connect pointer.

access_group

Pointer of lsm_access_group to be deleted.

flags

Reserved for future use, must be LSM_CLIENT_FLAG_RSVD.

Version

1.0

Description

Deletes an access group. Only access group with no volume masked can be deleted.

Capability

LSM_CAP_ACCESS_GROUP_DELETE

Return

Error code as enumerated by 'lsm_error_number'.
   * LSM_ERR_OK
       On success.
   * LSM_ERR_INVALID_ARGUMENT
       When any argument is NULL or not a valid lsm_connect pointer
       or invalid flags.
   * LSM_ERR_NOT_FOUND_ACCESS_GROUP
       When access group not found.
   * LSM_ERR_IS_MASKED
       When access group has volume masked.
   * LSM_ERR_NO_SUPPORT
       Not supported.

Info

July 2024 Libstoragemgmt C API Manual