Scroll to navigation

lsm_access_group_delete(3) Libstoragemgmt C API Manual lsm_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

Valid lsm_connect pointer.
Pointer of lsm_access_group to be deleted.
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.

lsm_access_group_delete April 2021