|
|
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.
Returns an sql snippet that can be added to the where clause of a query on the current channel view to exclude
items that the current user does not have access to.
Namespace: Smartsite.Runtime.Modules
Assembly: Smartsite.Runtime.Modules (in Smartsite.Runtime.Modules.dll)
Syntax
| C# | |
|---|---|
[(Name = "Security.ContentAccess.GetAccessibleWhere")] public static string GetAccessibleWhere( context, string minimumAccessTypeLevel, bool useCurrentRole ) | |
| Visual Basic (Declaration) | |
|---|---|
<(Name := "Security.ContentAccess.GetAccessibleWhere")> _ Public Shared Function GetAccessibleWhere ( _ context As , _ minimumAccessTypeLevel As , _ useCurrentRole As _ ) As | |
Parameters
- context
- IRenderContext
The context.
- minimumAccessTypeLevel
- String
The minimum access type level by name.
- useCurrentRole
- Boolean
if set to true take the user's current role into account.
Return Value
An sql clause
See Also
ContentAccessViperModule Class
Smartsite.Runtime.Modules Namespace