DjVu Namespace > PrivAndPropSet Class : IsPermitted Method |
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 )
This method detemines whether the user is permitted to do the thing.
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.
Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family