Cuminas DjVu SDK for .NET Framework
IsPermitted Method



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

Parameters

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

Return Value

This method detemines whether the user is permitted to do the thing.

Remarks

The difference from IsEnabled Method is that this method checks whether the user can do the thing just now or not.

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