[This is preliminary documentation and is subject to change.]

The constructor to create an object from its value

Namespace:  OfficeClip.BusinessLayer.Security
Assembly:  OfficeClip.BusinessLayer (in OfficeClip.BusinessLayer)
Version: 8.1.1.0

Syntax

C#
public SecurityObject(
	int roleId,
	int userId,
	int objectId,
	int groupId,
	BusinessConstants..::.ObjectType objectType,
	string description,
	bool isLocked,
	bool accessRead,
	bool accessWrite,
	bool accessAppend,
	bool accessDelete
)
Visual Basic (Declaration)
Public Sub New ( _
	roleId As Integer, _
	userId As Integer, _
	objectId As Integer, _
	groupId As Integer, _
	objectType As BusinessConstants..::.ObjectType, _
	description As String, _
	isLocked As Boolean, _
	accessRead As Boolean, _
	accessWrite As Boolean, _
	accessAppend As Boolean, _
	accessDelete As Boolean _
)
Visual C++
public:
SecurityObject(
	int roleId, 
	int userId, 
	int objectId, 
	int groupId, 
	BusinessConstants..::.ObjectType objectType, 
	String^ description, 
	bool isLocked, 
	bool accessRead, 
	bool accessWrite, 
	bool accessAppend, 
	bool accessDelete
)

Parameters

roleId
Type: System..::.Int32
The unique id of the role
userId
Type: System..::.Int32
The unique id of the user
objectId
Type: System..::.Int32
The unique id of the object
groupId
Type: System..::.Int32
The unique idof the group
objectType
Type: OfficeClip.BusinessLayer..::.BusinessConstants..::.ObjectType
The type of the object
description
Type: System..::.String
The description of the entry (usually name of the user or role)
isLocked
Type: System..::.Boolean
If the permission is locked so that user cannot change it.
accessRead
Type: System..::.Boolean
The read access bit
accessWrite
Type: System..::.Boolean
The write access bit
accessAppend
Type: System..::.Boolean
The append access bit
accessDelete
Type: System..::.Boolean
The delete access bit

See Also