<< Click to Display Table of Contents >>

Navigation:  Adox Classes > AdoUser Class >


Previous pageReturn to chapter overviewNext page


Gets the permissions on an object or object container



METHOD GetPermissions ( cname AS USUAL,nObjectType AS LONG,  nObjectTypeId AS USUAL )   AS LONG PASCAL CLASS AdoUser



cName        A Usual value specifying the name of the object for which to set permissions.

nObjectType        A Long value which can be one of the ObjectTypeEnum constants

nObjectTypeId        (Optional). A Variant value specifying the GUID for a provider object        type not defined by the OLE DB specification. This parameter is required if ObjectType is set to adPermObjProviderSpecific; otherwise, it is not used


See Also

AdoUser, AdoObjectTypeEnum