Security Viper Module
The Security vipers expose a number of properties related to the authenticated user and content access.
Viper Methods
Global Viper Method | Description |
---|---|
Security.ContentAccess.GetAccessibleWhere Viper Method | Returns an sql snippet that can be added to the where clause of a query using the given alias for a contents view to exclude items that the current user does not have access to. |
Security.ContentAccess.GetAccessLevel Viper Method | Gets the content access level the user has in a specific CMS item. |
Security.ContentAccess.GetBrowsableWhere Viper Method | Returns an sql snippet that can be added to the where clause of a query using the given alias for a contents view to exclude items that the current user does not have browse access to. |
Security.ContentAccess.GetBrowseLevel Viper Method | Gets the browse access of the current user on the current item. |
Security.ContentAccess.Test Viper Method | Tests if the current user has at least the given level of content access for the given item. |
Security.ContentTypes.Allowed Viper Method | Returns true if the current user has access to the given content type. |
Security.Groups.Get Viper Method | Gets a collection of the current user's groups. |
Security.Membership.EnablePasswordRetrieval Viper Method | Returns the Membership Provider password retrieval setting. |
Security.Membership.IsActiveDirectory Viper Method | Returns true if the membership provider is active directory |
Security.Membership.PasswordFormat Viper Method | Returns the Membership Provider password format. |
Security.PasswordWallet.GetPassword Viper Method | Gets the password from the password wallet. |
Security.PasswordWallet.GetUsername Viper Method | Gets the username from the password wallet. |
Security.User.FullName Viper Method | Gets the full name of the current user. |
Security.User.GuestUserId Viper Method | Gets the guest user id. |
Security.User.LoginName Viper Method | Gets the user name of the current user. |
See Also
-
Security.ContentAccess.GetAccessibleWhere Viper Method
Returns an sql snippet that can be added to the where clause of a query using the given alias for a contents view to exclude items that the current user does not have access to. -
Security.ContentAccess.GetAccessLevel Viper Method
Gets the content access level the user has in a specific CMS item. -
Security.ContentAccess.GetBrowsableWhere Viper Method
Returns an sql snippet that can be added to the where clause of a query using the given alias for a contents view to exclude items that the current user does not have browse access to. -
Security.ContentAccess.GetBrowseLevel Viper Method
Gets the browse access of the current user on the current item. -
Security.ContentAccess.Test Viper Method
Tests if the current user has at least the given level of content access for the given item. -
Security.ContentTypes.Allowed Viper Method
Returns true if the current user has access to the given content type. -
Security.Groups.Get Viper Method
Gets a collection of the current user's groups. -
Security.Membership.EnablePasswordRetrieval Viper Method
Returns the Membership Provider password retrieval setting. -
Security.Membership.IsActiveDirectory Viper Method
Returns true if the membership provider is active directory -
Security.Membership.PasswordFormat Viper Method
Returns the Membership Provider password format. -
Security.PasswordWallet.GetPassword Viper Method
Gets the password from the password wallet. -
Security.PasswordWallet.GetUsername Viper Method
Gets the username from the password wallet. -
Security.User.FullName Viper Method
Gets the full name of the current user. -
Security.User.GuestUserId Viper Method
Gets the guest user id. -
Security.User.LoginName Viper Method
Gets the user name of the current user.
- Macro
- Macro Parameters
- Macro Parameter Properties
-
Vipers
-
Global Viper Methods
- AIM Viper Class
- Audit Viper Class
- Buffer Viper Class
- Cache Viper Class
- CacheFile Viper Class
- Calendar Viper Class
- Channel Viper Class
- Char Viper Class
- Cms Viper Class
- ContentType Viper Class
- Convert Viper Class
- Database Viper Class
- DataTable Viper Class
- DateTime Viper Class
- Debug Viper Class
- DigiD Viper Class
- Env Viper Class
- FileSystem Viper Class
- FlexLayout Viper Class
- Html Viper Class
- Html.Color Viper Class
- Html.Css Viper Class
- Image Viper Class
- ImageProperties Viper Class
- ItemComments Viper Class
- ItemData Viper Class
- License Viper Class
- Locale Viper Class
- Logging Viper Class
- Login Viper Class
- Math Viper Class
- Payment Viper Class
- Personalization Viper Class
- PlaceHolder Viper Class
- Poll Viper Class
- Publication Viper Class
- RenderTemplate Viper Class
- Request Viper Class
- Response Viper Class
- Scf Viper Class
-
- Security.ContentAccess.GetAccessibleWhere Viper Method
- Security.ContentAccess.GetAccessLevel Viper Method
- Security.ContentAccess.GetBrowsableWhere Viper Method
- Security.ContentAccess.GetBrowseLevel Viper Method
- Security.ContentAccess.Test Viper Method
- Security.ContentTypes.Allowed Viper Method
- Security.Groups.Get Viper Method
- Security.Membership.EnablePasswordRetrieval Viper Method
- Security.Membership.IsActiveDirectory Viper Method
- Security.Membership.PasswordFormat Viper Method
- Security.PasswordWallet.GetPassword Viper Method
- Security.PasswordWallet.GetUsername Viper Method
- Security.User.FullName Viper Method
- Security.User.GuestUserId Viper Method
- Security.User.LoginName Viper Method
- Session Viper Class
- Site Viper Class
- Smartlet Viper Class
- SmartletEditor Viper Class
- SmartletPreset Viper Class
- Smi Viper Class
- SmiData Viper Class
- Spice Viper Class
- Sql Viper Class
- StandardsCompliance Viper Class
- Storage Viper Class
- String Viper Class
- SXML Viper Class
- Sys Viper Class
- Tags Viper Class
- Translation Viper Class
- Url Viper Class
- User Viper Class
- UserItemFeedback Viper Class
- Xml Viper Class
- Local Viper Methods
-
Global Viper Methods
- SXML Data Types
- Examples
- Tips & Tricks