PRELIMINARY INFORMATION - SUBJECT TO CHANGE
This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Filters items out of a DataTable to which a specified user has no access.

Namespace: Smartsite.Security
Assembly:  Smartsite.Security (in Smartsite.Security.dll)

Syntax

C#Copy imageCopy Code
public  GetAccessibleItemTable(
	 items,
	int userId,
	int roleNumber,
	string minimumAccessTypeLevel
)
Visual Basic (Declaration)Copy imageCopy Code
Public Function GetAccessibleItemTable ( _
	items As , _
	userId As Integer, _
	roleNumber As Integer, _
	minimumAccessTypeLevel As  _
) As 

Parameters

items
DataTable
The DataTable to be filtered.
userId
Int32
The user's id.
roleNumber
Int32
The role number. Set to -1 to ignore role.
minimumAccessTypeLevel
String
The minimum access type level by name.

Return Value

The filtered DataTable

See Also

Advanced