Xbasic
SQL::ConnectionGrantAccess Method
Syntax
Result_Flag as L = GrantAccess(Name as C, AccessType as C [, Resource as C])
Arguments
- NameCharacter
The name of a user or group.
- AccessTypeCharacter
The type of access to grant.
- ResourceCharacter
The name of a resource to control.
Returns
- Result_FlagLogical
TRUE (.T.) if the operation was successful; otherwise FALSE (.F.).
Description
Grant to a user or group the access specified, optionally, on the resource named.
Discussion
The GrantAccess() method grants to a user or group the access specified to the named resource.
See Also