KeyMaster.NET
Permission Constructor (subjectPattern, allowRead, allowWrite, allowTrade, instrumentField)
KeyMaster.NETCaplin.KeyMaster.PermissioningPermissionPermission(String, Boolean, Boolean, Boolean, String)
Initializes a new instance of the Permission class with permissions for a subject pattern, and the name of a field specifying an instrument that can be traded.
Declaration Syntax
C#Visual BasicVisual C++
public Permission(
	string subjectPattern,
	bool allowRead,
	bool allowWrite,
	bool allowTrade,
	string instrumentField
)
Public Sub New ( _
	subjectPattern As String, _
	allowRead As Boolean, _
	allowWrite As Boolean, _
	allowTrade As Boolean, _
	instrumentField As String _
)
public:
Permission(
	String^ subjectPattern, 
	bool allowRead, 
	bool allowWrite, 
	bool allowTrade, 
	String^ instrumentField
)
Parameters
subjectPattern (String)
The subject pattern.
allowRead (Boolean)
If set to true, the user can read subjects matching subjectPattern.
allowWrite (Boolean)
If set to true, the user can contribute to (publish to) subjects matching subjectPattern.
allowTrade (Boolean)
If set to true, the user can trade on subjects matching subjectPattern.
instrumentField (String)
The name of the field that will contain the name of the instrument being traded.

Assembly: Caplin.KeyMaster (Module: Caplin.KeyMaster) Version: 5.0.4.0 (5.0.4.0)