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.
Creates a condition that can be added to the where clause of a sql query
Namespace: Smartsite.Security
Assembly: Smartsite.Security (in Smartsite.Security.dll)
Syntax
C# | Copy Code |
---|---|
public string GetAccessWhereClause( string contentsAlias, int userId, int roleNumber, string minimumAccessTypeLevel ) |
Visual Basic (Declaration) | Copy Code |
---|---|
Public Function GetAccessWhereClause ( _ contentsAlias As , _ userId As Integer, _ roleNumber As Integer, _ minimumAccessTypeLevel As _ ) As |
Parameters
- contentsAlias
- String
The alias used for the contents view or table
- userId
- Int32
The user id.
- roleNumber
- Int32
The role number. Set to -1 to ignore role.
- minimumAccessTypeLevel
- String
The minimum access type level by name.
Return Value
See Also
ContentAccessBase Class
Smartsite.Security Namespace