Click or drag to resize

ConnectionAssignRoles Method

Adds user role assignments to a folder

Namespace:  ICMeridianAPI
Assembly:  ICMeridianAPI (in ICMeridianAPI.dll) Version: 4.0.9.0 (4.0.9.0)
Syntax
public void AssignRoles(
	string vaultidentifier,
	string folderid,
	Object usersOrGroups = null,
	Object roleNames = null
)

Parameters

vaultidentifier
Type: SystemString
The vault in which role assignments are to be changed.
folderid
Type: SystemString
Path or ID of the folder
usersOrGroups (Optional)
Type: SystemObject
A single string or array of user or group names
roleNames (Optional)
Type: SystemObject
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