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 Commit method.

Exceptions

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