Adds a new subject permission to the user's permissioning information.
Declaration Syntax
C# | Visual Basic | Visual C++ |
void AddPermission( IPermission permission )
Sub AddPermission ( _ permission As IPermission _ )
void AddPermission( IPermission^ permission )
Parameters
- permission (IPermission)
- The subject permission to add.
Remarks
Permissions are applied on a first match basis, and the matching process is in the order that the permissions were added to the IUserPermissions. As a result, you should add more specific permissions before more general ones. For example, you should add a permission for /FX/GBPEUR before adding a permission for ^/FX.