GetPamAccess

Returns the specified PAM application access right.

Syntax

IPam GetPamAccess (string name)

Parameter

Specify the following parameter when using this method:

Parameter Description
name The name of the PAM access right.

Return value

The PAM application access right with the specified name, or null if name is not in use.

Exceptions

GetPamAccess 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 PAM application access right (see the message returned by the exception for the reason).

  • ArgumentException if the name parameter is null or empty.

Example

For sample code using the GetPamAccess method in a script, see CreatePamAccess.