GetSshRight
Returns the specified SSH application access right.
Syntax
ISsh GetSshRight (string name)
Parameter
Specify the following parameter when using this method:
Parameter | Description |
---|---|
name
|
The name of the SSH access right. |
Return value
The SSH application access right with the specified name, or null
if name is not
in use.
Exceptions
GetSshRight
may throw one of the following exceptions:
-
ApplicationException
if it can’t find authorization data for the zone or if it failed to get the right (see the message returned by the exception for the reason). -
ArgumentException
if the parameter isnull
or empty.