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.ConfigurationAssembly: ININ.IceLib.Configuration (in ININ.IceLib.Configuration.dll) Version: 0.0.0.0 (22.3.0.218)
Syntax
C# |
---|
public ContainerQuerySettings<TConfigurationObject, TPropertyEnum> SetRightsFilter( params RightsQueryFilter<TConfigurationObject>[] rights ) |
Visual Basic |
---|
Public Function SetRightsFilter ( _ ParamArray rights As RightsQueryFilter(Of TConfigurationObject)() _ ) As ContainerQuerySettings(Of TConfigurationObject, TPropertyEnum) |
Parameters
- rights
- Type: array<ININ.IceLib.Configuration..::..RightsQueryFilter<(Of <(<'TConfigurationObject>)>)>>[]()[][]
The pre-constructed rights object. This can be found inside of the individual <TConfigurationObject> class, such as DefaultUserConfiguration..::..Rights or SystemConfiguration..::..Rights.
Return Value
This ContainerQuerySettings<(Of <(<'TConfigurationObject, TPropertyEnum>)>)>.Remarks
The rights filter sets a list of rights that will be used to filter the object against.
For example, if DefaultUserConfiguration is being queried and Admin is specified,
this query will only result in the DefaultUser object if the current user has Admins rights to it.
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 SU 4 and beyond.
For 4.0, supported for IC Server version 4.0 SU 4 and beyond.