lsm_access_group_delete

lsm_access_group_delete(3)Libstoragemgmt C API Manualsm_access_group_delete(3)



NAME
       lsm_access_group_delete - 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.



May 2018                    lsm_access_group_delete lsm_access_group_delete(3)