Runs the execute function to get the list of AccessControlGroup that a given user has access to.

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

Syntax

C#
public static IEnumerable<AccessControlGroup> GetAccessControlGroupsForObjectType(
	ConfigurationManager configurationManager,
	string userId,
	AccessControlGroupObjectType objectType
)
Visual Basic
Public Shared Function GetAccessControlGroupsForObjectType ( _
	configurationManager As ConfigurationManager, _
	userId As String, _
	objectType As AccessControlGroupObjectType _
) As IEnumerable(Of AccessControlGroup)

Parameters

configurationManager
Type: ININ.IceLib.Configuration..::..ConfigurationManager
A Configuration Manager instance.
userId
Type: System..::..String
A user ID to to check access against.
objectType
Type: ININ.IceLib.Configuration.DataTypes..::..AccessControlGroupObjectType
The type of object to get a list of Access Control Groups for.

Return Value

List of AccessControlGroup for a given object type that this user has access to.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionA parameter is nullNothingnullptra null reference (Nothing in Visual Basic).
System..::..ArgumentExceptionAn empty user ID was provided.
System..::..ArgumentOutOfRangeExceptionInvalid AccessControlGroupObjectType was provided.

Version Information

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

See Also