Define the SQL RoleGrantOption mapping in the ^SYS global for whether a role is granted to the user/role with admin/grant option Mapping was added for SQL RoleGrantOption to take advantage of XML export. More...
Static Public Member Functions | |
_.Library.Status | Export (_.Library.String FileName, _.Library.Integer NumExported) |
This method exports SQLRoleGrantOption records to a file in xml format. More... | |
_.Library.Status | Import (_.Library.String FileName, _.Library.Integer NumImported, _.Library.Integer Flags) |
Import SQLRoleGrantOption records from an xml file. More... | |
Public Attributes | |
Grantable | |
Grantable - 1/0, can this role be granted by the user. More... | |
RoleGranted | |
RoleGranted - Role that was granted to the user/role. More... | |
UserOrRole | |
UserOrRole - User or Role the role was granted to. More... | |
Define the SQL RoleGrantOption mapping in the ^SYS global for whether a role is granted to the user/role with admin/grant option Mapping was added for SQL RoleGrantOption to take advantage of XML export.
|
static |
This method exports SQLRoleGrantOption records to a file in xml format.
Parameters:
Filename - Output file name
NumExported (byref) - Returns number of records exported.
|
static |
Import SQLRoleGrantOption 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 role be granted by the user.
RoleGranted |
RoleGranted - Role that was granted to the user/role.
UserOrRole |
UserOrRole - User or Role the role was granted to.