PrivilegeAssignmentCreateForGroup 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 (24.3.0.1000)
Syntax
public static PrivilegeAssignment CreateForGroup(
	Guid groupId,
	PrivilegeAssignmentKind assignmentKind,
	Guid privilegeId
)

Parameters

groupId
Type: SystemGuid
The ID of the group.
assignmentKind
Type: Dundas.BI.AccountServicesPrivilegeAssignmentKind
Privilege assignment kind.
privilegeId
Type: SystemGuid
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