public interface ISQLPrivilege
extends java.io.Serializable
Description: 'Provides access to members for granting and revoking privileges to database users.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
IID
Deprecated.
Internal use only
|
static int |
IIDa867a185_c5cb_11d2_aae2_00c04fa37849 |
static int |
xxDummy
Deprecated.
Internal use only
|
| Modifier and Type | Method and Description |
|---|---|
int |
getSQLPrivileges()
The database privileges.
|
void |
grant(java.lang.String userName,
int privileges,
boolean withGrant)
Grants privileges for the database user.
|
void |
revoke(java.lang.String userName,
int privileges)
Revokes privileges for the database user.
|
static final int IIDa867a185_c5cb_11d2_aae2_00c04fa37849
static final int xxDummy
static final java.lang.String IID
int getSQLPrivileges()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.void grant(java.lang.String userName,
int privileges,
boolean withGrant)
throws java.io.IOException,
AutomationException
userName - The userName (in)privileges - The privileges (in)withGrant - The withGrant (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.void revoke(java.lang.String userName,
int privileges)
throws java.io.IOException,
AutomationException
userName - The userName (in)privileges - The privileges (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.