Connection AssignRoles Method BlueCielo Meridian Connection API 2013 Reference Guide | BlueCielo ECM Solutions
Adds user role assignments to a folder

Namespace: ICMeridianAPI
Assembly: ICMeridianAPI (in ICMeridianAPI.dll) Version: 1.0.6.0 (1.0.6.0)
Syntax

public void AssignRoles(
	string vaultidentifier,
	string folderid,
	Object usersOrGroups = null,
	Object roleNames = null
)

Parameters

vaultidentifier
Type: OnlineSystem String
The vault in which role assignments are to be changed.
folderid
Type: OnlineSystem String
Path or ID of the folder
usersOrGroups (Optional)
Type: OnlineSystem Object
A single string or array of user or group names
roleNames (Optional)
Type: OnlineSystem Object
A single string or array of role names
Remarks

Adding role assignments means that InheritFromParent will be set to False. If users and roles are not specified then role assignments are cleared from the folder. In this case InheritFromParent is not set to True anyway.
See Also