![]() |
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.
Tests if the current user has access to the given Smi site.
Namespace: Smartsite.ManagementInformation
Assembly: Smartsite.ManagementInformation (in Smartsite.ManagementInformation.dll)
Syntax
C# | ![]() |
---|---|
[] public static bool HasSiteAccess( context, string siteName ) |
Visual Basic (Declaration) | ![]() |
---|---|
<> _ Public Shared Function HasSiteAccess ( _ context As , _ siteName As _ ) As |
Parameters
- context
- IRenderContext
- siteName
- String
Name of the Smi site as defined in the Smartsite.ManagementInformation.config file.
Return Value
Returns true if the current user has access the given site, false otherwise.
See Also
SmiData Class
Smartsite.ManagementInformation Namespace