Click or drag to resize

TemplateManagerRemoveLegitimateDataRightTemplate Method

Removes a right from a template. When all rights are removed, the whole template is removed.

Namespace:  PsrApi.Managers
Assembly:  PsrApi (in PsrApi.dll) Version: 9.2.2.32703 (27.03.2025)+b9af25405a8dc67f2b73227b442cec4f08fd2d8a
Syntax
C#
public Task RemoveLegitimateDataRightTemplate(
	Guid dataId,
	Guid legitimateId,
	PsrRights rights,
	Nullable<PsrEntityObjectType> dataType,
	Guid targetId,
	Guid templateGroupId
)

Parameters

dataId
Type: SystemGuid
legitimateId
Type: SystemGuid
rights
Type: PsrApi.Data.EnumsPsrRights
dataType
Type: SystemNullablePsrEntityObjectType
targetId
Type: SystemGuid
templateGroupId
Type: SystemGuid

Return Value

Type: Task
See Also