Adds a new subject mapping to the user's permissioning information.
Declaration Syntax
C# | Visual Basic | Visual C++ |
void AddMapping( ISubjectMapping mapping )
Sub AddMapping ( _ mapping As ISubjectMapping _ )
void AddMapping( ISubjectMapping^ mapping )
Parameters
- mapping (ISubjectMapping)
- The subject mapping to add.
Remarks
Mappings are applied on a first match basis, and the matching process is in the order that the mappings were added to the IUserPermissions. As a result, you should add more specific mappings before more general ones.