AddNetworkAccess

Adds a network application access right to the role.

Syntax

void AddNetworkAccess(INetworkAccess networkAccess) 

Parameter

Specify the following parameter when using this method:

Parameter Description

networkAccess

The network application right you want to add to the role.

Discussion

This right is not stored in Active Directory until you call the Commitmethod.

Exceptions

AddNetworkAccess throws an ApplicationException if the network access right is not in the current or parent zone.