Click or drag to resize

PermissionControlledExtensionHasPermission Method

Namespace:  Dynamicweb.Security.Permissions
Assembly:  Dynamicweb.Security (in Dynamicweb.Security.dll) Version: 11.0.2
Syntax
public static bool HasPermission(
	this IPermissionControlled obj,
	PermissionLevel level
)

Parameters

obj
Type: Dynamicweb.Security.PermissionsIPermissionControlled
level
Type: Dynamicweb.Security.PermissionsPermissionLevel

Return Value

Type: Boolean

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IPermissionControlled. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also