|
JWSCL Documentation
|
constructor Create(const Privileges: array of TJwString; const SetType: TJwPrivilegeSetType);
|
Parameters |
Description |
|
const SetType: TJwPrivilegeSetType |
defines whether the privileges should be enabled or disabled. Define pst_EnableIfAvail if you dont want to raise an exception if the privlege does not exist. |
|
defines |
a list of privileges to be enabled. |
Create creates a new @classname instance and activates all privileges specified in parameter Privileges. These privileges will be disabled on destruction of this instance.
|
Exceptions |
Description |
|
will be raised if the privilege is not available and query is pst_Enable, otherwise the return value is false. If query is pst_EnableIfAvail the return is false, if the privilege could not be enabled. In this case no exception is raised. If an exception is raised all privileges enabled to this point are disabled |
|
Copyright (c) 2010. All rights reserved.
This help was created by Doc-O-Matic sponsored by toolsfactory software inc. |
|
What do you think about this topic? Send feedback!
|