table of contents
lsm_access_groups_granted_to_volume(3) | Libstoragemgmt C API Manual | lsm_access_groups_granted_to_volume(3) |
NAME¶
lsm_access_groups_granted_to_volume - Retrieves the access groups that have access to the specified volume.
SYNOPSIS¶
int lsm_access_groups_granted_to_volume (lsm_connect *conn, lsm_volume *volume, lsm_access_group **groups[], uint32_t *group_count, lsm_flag flags);
ARGUMENTS¶
- conn
- Valid connection.
- volume
- Pointer of lsm_volume.
- groups[]
- Output pointer of lsm_access_group array. Returned value must be freed with a call to lsm_access_group_record_array_free.
- group_count
- uint32_t. Number of access groups.
- flags
- Reserved for future use, must be LSM_CLIENT_FLAG_RSVD.
VERSION¶
1.0
DESCRIPTION¶
Return a list of volumes which is accessible by specified access group.
CAPABILITY¶
LSM_CAP_ACCESS_GROUPS_GRANTED_TO_VOLUME
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 or invalid lsm_volume pointer.
* LSM_ERR_NOT_FOUND_VOLUME
When volume not found.
* LSM_ERR_NO_SUPPORT
Not supported.
lsm_access_groups_granted_to_volume | April 2023 |