Define the SQL Privilege mapping in the ^SYS global Mapping was added for SQL Privileges to take advantage of XML export. More...


Static Public Member Functions | |
| _.Library.Status | Export (_.Library.String FileName, _.Library.Integer NumExported) |
| This method exports SQL Object Privilege records to a file in xml format. More... | |
| _.Library.Status | Import (_.Library.String FileName, _.Library.Integer NumImported, _.Library.Integer Flags) |
| Import SQLPrivilege records from an xml file. More... | |
Public Attributes | |
| Grantable | |
| Grantable - 1/0, can this privilege be granted by the user. More... | |
| Grantee | |
| Grantee - user/role the privilege was granted to. More... | |
| Grantor | |
| Grantor - user/role that granted the privilege. More... | |
| Namespace | |
| Namespace the privilege is defined in. More... | |
| Privilege | |
| Privilege assigned to the user/role. More... | |
| SQLObject | |
| ObjectType,ObjectName e.g. More... | |
| SQLPrivString | |
| SQL Privilege resource string. More... | |
Define the SQL Privilege mapping in the ^SYS global Mapping was added for SQL Privileges to take advantage of XML export.
|
static |
This method exports SQL Object Privilege records to a file in xml format.
Parameters:
Filename - Output file name
NumExported (byref) - Returns number of records exported.
|
static |
Import SQLPrivilege records from an xml file.
Parameters:
FileName - Filename to import Role records from
NumImported (byref) - Returns number of records imported
Flags - Control import
Bit 0 - Do not import records, just return count
Note: On failure, no records will be imported
| Grantable |
Grantable - 1/0, can this privilege be granted by the user.
| Grantee |
Grantee - user/role the privilege was granted to.
| Grantor |
Grantor - user/role that granted the privilege.
| Namespace |
Namespace the privilege is defined in.
| Privilege |
Privilege assigned to the user/role.
| SQLObject |
ObjectType,ObjectName e.g.
"1,Sample.Person" or "3,Sample.PersonView"
| SQLPrivString |
SQL Privilege resource string.