![](/images/new-backgrounds/1147420/147420105x1.webp)
aci_clientaccess
The aci_clientaccess function modifies the access lists of a client. See Figure
#include "aci.h"
int aci_clientaccess( char *clientname, enum aci_command action, char *volser_range, enum aci_media type, char *drive_range )
Figure | aci_clientaccess Function Call | ||
|
| See Table | |
|
| aci_clientaccess function call. | |
Table | Parameters for the aci_clientaccess Function Call | ||
|
|
|
|
Parameter |
|
| Description |
|
|
| |
clientname |
| name of the client which authorization is to be changed | |
|
|
| |
action |
| type of the activity (add or remove access rights) | |
|
|
|
|
|
| ACI_ADD | add access rights |
|
|
|
|
|
| ACI_DELETE | remove access rights |
|
|
|
|
volser_range |
| • a single volser |
|
|
| • multiple volsers, separated by commas | |
|
| • a range of volsers separated by a hyphen | |
|
| • set to empty (““ or ‘\0’) if it is not to be changed | |
|
|
| |
type |
| media type of the previously defined volser range | |
|
| Refer to Media Types on page | |
|
|
|
|
drive_range |
| • a single drive |
|
|
| • multiple drives, separated by commas | |
|
| • a range of drives separated by a hyphen, or set to empty | |
|
| (““ or ‘\0’) if it is not to be changed | |
|
|
|
|
|
| This ACI function changes the access lists of a client named | |
|
| clientname by either adding or removing access to a drive_range | |
|
| and/or a volser_range. The aci_clientstatus function may be | |
|
| needed to find out the drive_range and volser_range used by the | |
|
| client. |
|
|
|
| aci_clientaccess |