<< Click to Display Table of Contents >> AdoGroup:SetPermissions() |
![]() ![]() ![]() |
Sets the permissions on an object or object container
METHOD SetPermissions ( cName AS USUAL, nObjectType AS LONG, nAction AS LONG, nRights AS LONG, nInherit AS USUAL, nObjectTypeId AS USUAL ) AS LONG PASCAL CLASS AdoGroup
cName A Variant value specifying the name of the object for which to set permissions.
nObjectType A Long value which can be one of the ObjectTypeEnum constants
nAction A Long value which can be one of the ActionEnum constants, specifying the type of action to perform
nRights A Long value which can be a bitmask of one or more of the RightsEnum constants, indicating the rights to set
nInherit A Long value which can be one of the InheritTypeEnum constants, specifying how objects will
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
AdoGroup, AdoObjectTypeEnum, AdoActionEnum, AdoRightsEnum, AdoInheritTypeEnum