Access Get Services Subcommand

access: All users

Returns a string containing the current naming services option (NIS or ADS).

access get services [ {-t | --type } NIS [{-d | --domain} |
{-s | --server}] [-H | --noheader]] [{-D | --delim <DELIMITER>}]


access get services [ {-t | --type } ADS [{ -d | --domain} |
{-s | --server} | {-l | --logonID} | {-o | --ou}] [-H | --noheader]] [{-D | --delim <DELIMITER>}]

Arguments
Description
{-t | --type }
Returns information about the configuration of either the NIS or ADS service. You must specify -t to return a list of enabled services.
{-d | --domain}
Returns domain information. Only one of the parameters -d and -s are permitted at a time.
{-s | --server}
Returns server information. Only one of the parameters -d and -s are permitted at a time.
{-l | --ID}
For ADS only: Returns the ADS logon ID. Only one of the parameters -o and -l are permitted at a time.
{-o | --ou}
For ADS only: Returns the organization unit information. Only one of the parameters -o and -l are permitted at a time.
[-H | --noheader]
Suppresses header output.
{ -D | --delim } Delimits columns with the specified delimiter. Headings are also delimited unless suppressed. The delimiter can be any character or string.

 

Return Codes

Following are the return values for this command:

Code Numeric Code Description
NWSE_Success 0 Command successfully completed.
NWSE_InvalidUsage 1 Invalid usage: bad parameter usage, conflicting options specified.
NWSE_RPCTimeout 2 Request was issued, but was not serviced by the server. RPC procedure timed out and the request may or may not have been serviced by the server.
NWSE_RPCNotConnected 3 Unable to connect to the RPC server.
NWSE_InvalidArgument 4 One or more arguments were incorrect or invalid. The specified service type is not in use. Either the service type is incorrect or more than one permittable arguments were specified (-d or -s) (-o or -l).
 

System Management Commands

Access Command