public bool AddRight( string strRightname, string strCategory )
public: bool AddRight( String^ strRightname, String^ strCategory )
Parameters
| Parameter Name | Description |
|---|---|
| strRightname | Right name as a string |
| strCategory | Category name as a string. Only existing categories can be used. You can get the existing categories by the GetCategories method.You need to set the complete category name that you can find in the StringCollection returned by GetCategory. |
Return Value
•
TRUE: The new right was successfully added to the rights management database. • FALSE: The new right could not be added to the rights management database.