Cuminas DjVu SDK for .NET Framework
IsEnabled Method



One of PrivsAndProps Enumeration values to specify which privilege/property is checked.
Determines whether a privilege/property is set or not.
Syntax
Public Function IsEnabled( _
   ByVal privOrProp As PrivsAndProps _
) As Boolean
Dim instance As PrivAndPropSet
Dim privOrProp As PrivsAndProps
Dim value As Boolean
 
value = instance.IsEnabled(privOrProp)
public bool IsEnabled( 
   PrivsAndProps privOrProp
)
public:
bool IsEnabled( 
   PrivsAndProps privOrProp
) 

Parameters

privOrProp
One of PrivsAndProps Enumeration values to specify which privilege/property is checked.

Return Value

This method detemines whether the privilege/property is set or not.

Remarks

The difference from IsPermitted Method is that this method just checks the values on the store and don't see whether the security is actually enforced on the user on the time of call.

When you edit user's privileges, you should use IsEnabled Method rather than IsPermitted Method but if you check user's permission on decoding application, you should use IsPermitted Method over than IsEnabled Method.

Requirements

Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

Reference

PrivAndPropSet Class
PrivAndPropSet Members

Send Feedback