AddWindowsApplication

Adds a Windows application right to the role.

Syntax

void AddWindowsApplication(IWindowsApplication windowsApplication) 

Parameter

Specify the following parameter when using this method:

Parameter Description

windowsApplication

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

Discussion

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

Exceptions

AddWindowsApplication throws an ApplicationException if the Windows application right is not in the current or parent zone.