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

Parameters

groupId  Guid
The ID of the group.
assignmentKind  PrivilegeAssignmentKind
Privilege assignment kind.
privilegeId  Guid
The privilege ID.

Return Value

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

groupId is Empty.

-or-

privilegeId is Empty.

See Also