Adds a new subject mapping to the user's permissioning information.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public void AddMapping( ISubjectMapping mapping )
Public Sub AddMapping ( _ mapping As ISubjectMapping _ )
public: virtual void AddMapping( ISubjectMapping^ mapping ) sealed
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 UserPermissions.
As a result, you should add more specific mappings before more general ones.