com.esri.arcgis.geodatabase
Interface ISQLPrivilege

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
ESRIFDOAddressLocator, ESRIGen2AddressLocator, FeatureClassName, FeatureDatasetName, GPToolboxName, ISQLPrivilegeProxy, LocatorName, ObjectClassName, RelationshipClassName, SchematicDatasetName, SdeRasterTableName, TableName

public interface ISQLPrivilege
extends java.io.Serializable

COM Interface 'ISQLPrivilege'. Generated 3/19/2015 1:20:54 PM from 'C:\ArcGIS\COM\esriGeoDatabase.olb'

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 =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IIDa867a185_c5cb_11d2_aae2_00c04fa37849
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 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.
 

Field Detail

IIDa867a185_c5cb_11d2_aae2_00c04fa37849

static final int IIDa867a185_c5cb_11d2_aae2_00c04fa37849
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

getSQLPrivileges

int getSQLPrivileges()
                     throws java.io.IOException,
                            AutomationException
The database privileges.

Returns:
The privileges
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

grant

void grant(java.lang.String userName,
           int privileges,
           boolean withGrant)
           throws java.io.IOException,
                  AutomationException
Grants privileges for the database user.

Parameters:
userName - The userName (in)
privileges - The privileges (in)
withGrant - The withGrant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

revoke

void revoke(java.lang.String userName,
            int privileges)
            throws java.io.IOException,
                   AutomationException
Revokes privileges for the database user.

Parameters:
userName - The userName (in)
privileges - The privileges (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.