Get IRC rules or rule book
Returns the list of rules and their details present in the rule book.
Syntax:
Public IBizObjectCollection GetRulesForRuleBook(AuthInfo objAuthInfo, int RuleBookID, [int RuleID]);
Parameters:
Parameter | Description |
---|---|
Auth Object | Authentication object with IRC user name and password provided to the application consuming the web service. |
RuleBookID | The unique ID of the IRC rule book, which will provide the list of rule present in that rule book. The rule book ID can be set by using the GetObjectData method. |
RuleID | Optional. The unique ID of IRC Rule. If no value is passed, it will list all the rules present in the rule book. The rule id can be set by using the GetObjectData method. |
Example
BizRightsPublishingFramework.PublishingWebServices objMyImplementation = new
BizRightsPublishingFramework.PublishingWebServices();
BizRightsPublishingFramework.IBizObjectCollection objBizRuleDataCol = new
BizRightsPublishingFramework.IBizObjectCollection();
// Get Rules
objBizRuleDataCol = objMyImplementation.GetRulesForRuleBook(objAuthInfo, intRuleBookID, 0);