Sets the list of rights to filter the result set against. If no rights are specified the view right will be used.

Namespace: ININ.IceLib.Configuration
Assembly: ININ.IceLib.Configuration (in ININ.IceLib.Configuration.dll) Version: 0.0.0.0 (21.2.0.218)

Syntax

C#
public QuerySettings<TConfigurationObject, TPropertyEnum> SetRightsFilter(
	IEnumerable<RightsQueryFilter<TConfigurationObject>> rights
)
Visual Basic
Public Function SetRightsFilter ( _
	rights As IEnumerable(Of RightsQueryFilter(Of TConfigurationObject)) _
) As QuerySettings(Of TConfigurationObject, TPropertyEnum)

Parameters

rights
Type: System.Collections.Generic..::..IEnumerable<(Of <(<'RightsQueryFilter<(Of <(<'TConfigurationObject>)>)>>)>)>
The pre-constructed rights object. This can be found inside of the individual <TConfigurationObject> class, such as UserConfiguration..::..Rights or WorkgroupConfiguration..::..Rights.

Return Value

This QuerySettings<(Of <(<'TConfigurationObject, TPropertyEnum>)>)>.

Remarks

The rights filter sets a list of rights that will be used to filter the result list against. For example, if UserConfigurationList is being queried and ChangeUserStatus is specified, this query will only result in User objects that the current user has ChangeUserStatus rights to. This will overwrite the current rights filter.

Version Information

Supported for IC Server version 2015 R1 and beyond.
For 4.0, supported for IC Server version 4.0 GA and beyond.

See Also