RightsDescriptorCombine Method

returns RightsDescriptor where set of of baserights is overriden by the defined values of overwrite. The values which are still left undefined after combining will be set to the value specified by defvalue The field rolename also updated if defined (not nell) in overwrite, but is not initialized with defvalue if none is specified in both descriptors

Definition

Namespace: TCX.Configuration.CommonRightsCache
Assembly: 3cxpscomcpp2 (in 3cxpscomcpp2.dll) Version: 20.0.1
C#
public static RightsDescriptor Combine(
	RightsDescriptor baserights,
	RightsDescriptor overwrite,
	bool? defvalue = false
)

Parameters

baserights  RightsDescriptor
the base rights
overwrite  RightsDescriptor
the defined rights of this obejct will override rights specified in baserights
defvalue  NullableBoolean  (Optional)
used if both are set to null

Return Value

RightsDescriptor
the new descriptor with combined rights

See Also