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

Sets he meta owner

Namespace:  OfficeClip.DBLayer.Metabase
Assembly:  OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0

Syntax

C#
public void SetMetaOwner(
	MetaConstants..::.MetaEntity me,
	int metaId,
	int pkId,
	int ownerId,
	int oldOwnerId,
	string attributeName,
	string ownerName,
	int currentUserId,
	int currentGroupId
)
Visual Basic (Declaration)
Public Sub SetMetaOwner ( _
	me As MetaConstants..::.MetaEntity, _
	metaId As Integer, _
	pkId As Integer, _
	ownerId As Integer, _
	oldOwnerId As Integer, _
	attributeName As String, _
	ownerName As String, _
	currentUserId As Integer, _
	currentGroupId As Integer _
)
Visual C++
public:
void SetMetaOwner(
	MetaConstants..::.MetaEntity me, 
	int metaId, 
	int pkId, 
	int ownerId, 
	int oldOwnerId, 
	String^ attributeName, 
	String^ ownerName, 
	int currentUserId, 
	int currentGroupId
)

Parameters

me
Type: OfficeClip.BusinessLayer.Metabase..::.MetaConstants..::.MetaEntity
The meta entity
metaId
Type: System..::.Int32
The meta id , usually the group id
pkId
Type: System..::.Int32
The unique primary key id
ownerId
Type: System..::.Int32
The unique id of the owner ofthe information
oldOwnerId
Type: System..::.Int32
The id of the previous owner
attributeName
Type: System..::.String
The name of the attribute
ownerName
Type: System..::.String
The name of the owner
currentUserId
Type: System..::.Int32
Unique id of the current user
currentGroupId
Type: System..::.Int32
Unique id of the current group

See Also