Open this page in the API Guide

PrivilegeAssignment.CreateForGroup Method

Creates a new PrivilegeAssignment object for a group.

Namespace:  Dundas.BI.AccountServices
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.1.0.1000)
Syntax
public static PrivilegeAssignment CreateForGroup(
	Guid groupId,
	PrivilegeAssignmentKind assignmentKind,
	Guid privilegeId
)

Parameters

groupId
Type: System.Guid
The ID of the group.
assignmentKind
Type: Dundas.BI.AccountServices.PrivilegeAssignmentKind
Privilege assignment kind.
privilegeId
Type: System.Guid
The privilege ID.

Return Value

Type: PrivilegeAssignment
Return a new PrivilegeAssignment object for group.
Exceptions
ExceptionCondition
ArgumentException

groupId is Empty.

-or-

privilegeId is Empty.

See Also