Services for PCs Manager GRANT — VMS PCSA_Server_2.1
The GRANT command will grant a user or a group access to a File
Server service.
Format:
GRANT user-name service-name [alias]
GRANT/GROUP group-name service-name [alias]
Additional information available:
Parameters
user-name user-name is the 1 to 12 character name of the user to whom access is being granted. user-name must be registered in the system UAF. group-name group-name is the 1 to 10 character group name of the group to whom access is being granted. The only valid group is PUBLIC. service-name service-name is the 1 to 25 character name of the service being granted. The service must have already been created using the ADD SERVICE command. alias alias is a 1 to 25 character alternate name by which the user or group will know the service. If omitted, the alias name is the same as the service-name.
Qualifiers
Additional information available:
/ACCESS
/ACCESS=(option[,...])
Controls the type of access the user is allowed to the service.
The File Server uses this qualifier to determine if the operation
requested by the user is compatible with the access granted. If
the service is a printer service, this qualifier is ignored, and
read, write and create access is granted. You can use one or more
of the following options:
READ (default)
The user is allowed READ access to the service.
WRITE
The user is allowed WRITE access to the service.
CREATE
The user is allowed CREATE access to the service.
/GROUP
/GROUP Specifies that a group is to be granted access to the service.
/RMS_PROTECTION
/RMS_PROTECTION=protection-mask Establishes a default RMS protection mask for any files created by a user granted access to the service. The default RMS protection is obtained from the service record as specified when the service was added by the ADD SERVICE command.