AdoUser:GetPermissions()

<< Click to Display Table of Contents >>

Navigation:  Adox Classes > AdoUser Class >

AdoUser:GetPermissions()

Previous pageReturn to chapter overviewNext page

Purpose

Gets the permissions on an object or object container

 

Prototype

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

 

Argument(s)

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