| EcommercePermissionHelperGetPermission Method (String, String, User, Boolean) |
Note: This API is now obsolete.
Namespace:
Dynamicweb.Ecommerce.UserPermissions
Assembly:
Dynamicweb.Ecommerce (in Dynamicweb.Ecommerce.dll) Version: 1.12.0
Syntax [ObsoleteAttribute("Use 'GetPermission(IPermissionControlled, User,Boolean)' instead")]
public static PermissionLevel GetPermission(
string id,
string objectType,
User user,
bool checkNoPermissions = false
)
<ObsoleteAttribute("Use 'GetPermission(IPermissionControlled, User,Boolean)' instead")>
Public Shared Function GetPermission (
id As String,
objectType As String,
user As User,
Optional checkNoPermissions As Boolean = false
) As PermissionLevel
Parameters
- id
- Type: SystemString
- objectType
- Type: SystemString
- user
- Type: Dynamicweb.Security.UserManagementUser
- checkNoPermissions (Optional)
- Type: SystemBoolean
Return Value
Type:
PermissionLevelSee Also