IFileSystemServiceSetPrivileges(Guid, ICollectionPrivilegeAssignment, PrivilegeInheritanceBehavior) Method

Set an entry's access privileges.

Namespace: Dundas.BI.FileSystem
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.0.1000)
Syntax
void SetPrivileges(
	Guid entryId,
	ICollection<PrivilegeAssignment>? privilegeAssignments,
	PrivilegeInheritanceBehavior inheritanceBehavior
)

Parameters

entryId  Guid
ID of the entry.
privilegeAssignments  ICollectionPrivilegeAssignment
The collection assignment to apply, or if no there should be no explicit assignments.
inheritanceBehavior  PrivilegeInheritanceBehavior
Indicate whether to inherit parent's privilege assignments.
Exceptions
ExceptionCondition
ArgumentExceptionentryId is Empty.
ArgumentOutOfRangeExceptioninheritanceBehavior is not one of the PrivilegeInheritanceBehavior values.
InvalidOperationExceptionprivilegeAssignments contains assignments for privileges which are not object privileges.
NotFoundExceptionThe entry specified by entryId does not exist.
NoPrivilegeException The caller does not have the FullControl privilege on the specified entry.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also