ILionReposPermissions
This section details the functions and properties of the AMT-COBOL Repository Module ReposPermissions interface.
Properties
| Name | Type | Access | Description |
| Admin | Boolean | Read/Write | Admin permission, to have all the permissions that are described below. |
| ChangeGenPriority | Boolean | Read/Write | Permission to change the generation priority for objects that are already queued for generation. |
| CreateClasses | Boolean | Read/Write | Permission to create Classes |
| CreateCobolCopies | Boolean | Read/Write | Permission to create Cobol Copies |
| CreateCobolForms | Boolean | Read/Write | Permission to create Cobol Forms |
| CreateCobolPrograms | Boolean | Read/Write | Permission to create Cobol Programs |
| CreateCobolSubprograms | Boolean | Read/Write | Permission to create Cobol Subprograms |
| CreateDms2200Areas | Boolean | Read/Write | Permission to create DMS 2200 Areas |
| CreateDms2200Schemas | Boolean | Read/Write | Permission to create DMS 2200 Schemas |
| CreateDms2200Sets | Boolean | Read/Write | Permission to create DMS 2200 Sets |
| CreateDms2200Subschema | Boolean | Read/Write | Permission to create DMS 2200 Subschemas |
| CreateDms2200Tables | Boolean | Read/Write | Permission to create DMS 2200 Tables |
| CreateExtInterfaces | Boolean | Read/Write | Permission to create External Interfaces |
| CreateFolders | Boolean | Read/Write | Permission to create Folders |
| CreateForeignKeys | Boolean | Read/Write | Permission to create Foreign Keys |
| CreateIndexes | Boolean | Read/Write | Permission to create Indexes |
| CreateLionFileDefs | Boolean | Read/Write | Permission to create Lion File Definitions |
| CreateLionForms | Boolean | Read/Write | Permission to create Lion Forms |
| CreateLionGlobalDefinitions | Boolean | Read/Write | Permission to create Lion Global Definitions |
| CreateLionGlobalDictionaries | Boolean | Read/Write | Permission to create Lion Global Dictionaries |
| CreateLionRoutines | Boolean | Read/Write | Permission to create Lion Forms |
| CreateLionImageList | Boolean | Read/Write | Permission to create Lion Imagelists |
| CreateLionReports | Boolean | Read/Write | Permission to create Lion Reports |
| CreateLionWebServiceConsumed | Boolean | Read/Write | Permission to create Lion Consumed Web Services |
| CreateLionWebServiceProvided | Boolean | Read/Write | Permission to create Lion Provided Web Services |
| CreateSchemas | Boolean | Read/Write | Permission to create Schemas |
| CreateScriptFolders | Boolean | Read/Write | Permission to create Script Folders |
| CreateScripts | Boolean | Read/Write | Permission to create Scripts |
| CreateStoredProcedures | Boolean | Read/Write | Permission to create Stored Procedures |
| CreateTables | Boolean | Read/Write | Permission to create Tables |
| CreateViews | Boolean | Read/Write | Permission to create Views |
| DeleteApplication | Boolean | Read/Write | Permission to delete Lion|Cobol Application |
| DeleteClasses | Boolean | Read/Write | Permission to delete Classes |
| DeleteCobolCopies | Boolean | Read/Write | Permission to delete Cobol Copies |
| DeleteCobolForms | Boolean | Read/Write | Permission to delete Cobol Forms |
| DeleteCobolPrograms | Boolean | Read/Write | Permission to delete Cobol Programs |
| DeleteCobolSubprograms | Boolean | Read/Write | Permission to delete Cobol Subprograms |
| DeleteDms2200Areas | Boolean | Read/Write | Permission to delete DMS 2200 Areas |
| DeleteDms2200Schemas | Boolean | Read/Write | Permission to delete DMS 2200 Schemas |
| DeleteDms2200Sets | Boolean | Read/Write | Permission to delete DMS 2200 Sets |
| DeleteDms2200Subschemas | Boolean | Read/Write | Permission to delete DMS 2200 Subschemas |
| DeleteDms2200Tables | Boolean | Read/Write | Permission to delete DMS 2200 Tables |
| DeleteExtInterfaces | Boolean | Read/Write | Permission to delete External Interfaces |
| DeleteFolders | Boolean | Read/Write | Permission to delete Lion|Cobol Folders |
| DeleteForeignKeys | Boolean | Read/Write | Permission to delete Database Foreign Keys |
| DeleteGenReqOther | Boolean | Read/Write | Permission to delete generation requests from other developers |
| DeleteIndexes | Boolean | Read/Write | Permission to delete Database Indexes |
| DeleteLionFileDefs | Boolean | Read/Write | Permission to delete Lion File Definitions |
| DeleteLionForms | Boolean | Read/Write | Permission to delete Lion Forms |
| DeleteLionGlobalDefinitions | Boolean | Read/Write | Permission to delete Lion Global Definitions |
| DeleteLionGlobalDictionaries | Boolean | Read/Write | Permission to delete Lion Global Dictionaries |
| DeleteLionGlobalRoutines | Boolean | Read/Write | Permission to delete Lion Global Routines |
| DeleteLionImageList | Boolean | Read/Write | Permission to delete Lion Imagelists |
| DeleteLionReports | Boolean | Read/Write | Permission to delete Lion Reports |
| DeleteLionWebServiceConsumed | Boolean | Read/Write | Permission to delete Lion Consumed Web Services |
| DeleteLionWebServiceProvided | Boolean | Read/Write | Permission to delete Lion Provided Web Services |
| DeleteSchemas | Boolean | Read/Write | Permission to delete Schemas |
| DeleteScriptFolders | Boolean | Read/Write | Permission to delete Script Folders |
| DeleteScripts | Boolean | Read/Write | Permission to delete Scripts |
| DeleteStoredProcedures | Boolean | Read/Write | Permission to delete Database Stored Procedures |
| DeleteTables | Boolean | Read/Write | Permission to delete Database Tables |
| DeleteViews | Boolean | Read/Write | Permission to delete Views |
| ExportLionSources | Boolean | Read/Write | Permission to export Lion Sources |
| Generate | Boolean | Read/Write | Permission to generate objects |
| GrantLocks | Boolean | Read/Write | Permission to reassign a locked object to another user |
| ImportLionSources | Boolean | Read/Write | Permission to import Lion Sources |
| LookInto | Boolean | Read/Write | Permission to have all read abilities |
| ModifyApplication | Boolean | Read/Write | Permission to modify Application |
| ModifyClasses | Boolean | Read/Write | Permission to modify Classes |
| ModifyCobolCopies | Boolean | Read/Write | Permission to modify Cobol Copies |
| ModifyCobolForms | Boolean | Read/Write | Permission to modify Cobol Forms |
| ModifyCobolPrograms | Boolean | Read/Write | Permission to modify Cobol Programs |
| ModifyCobolSubPrograms | Boolean | Read/Write | Permission to modify Cobol Subprograms |
| ModifyDms2200Areas | Boolean | Read/Write | Permission to modify DMS 2200 Areas |
| ModifyDms2200Schemas | Boolean | Read/Write | Permission to modify DMS 2200 Schemas |
| ModifyDms2200Sets | Boolean | Read/Write | Permission to modify DMS 2200 Sets |
| ModifyDms2200Subschemas | Boolean | Read/Write | Permission to modify DMS 2200 Subschemas |
| ModifyDms2200Tables | Boolean | Read/Write | Permission to modify DMS 2200 Tables |
| ModifyExtInterfaces | Boolean | Read/Write | Permission to modify External Interfaces |
| ModifyFolders | Boolean | Read/Write | Permission to modify Folders |
| ModifyForeignKeys | Boolean | Read/Write | Permission to modify Database Foreign Keys |
| ModifyIndexes | Boolean | Read/Write | Permission to modify Database Indexes |
| ModifyLionFileDefs | Boolean | Read/Write | Permission to modify Lion File Definitions |
| ModifyLionForms | Boolean | Read/Write | Permission to modify Lion Forms |
| ModifyLionGlobalDefinitions | Boolean | Read/Write | Permission to modify Lion Global Definitions |
| ModifyLionGlobalDictionaries | Boolean | Read/Write | Permission to modify Lion Global Dictionaries |
| ModifyLionGlobalRoutines | Boolean | Read/Write | Permission to modify Lion Global Routines |
| ModifyLionImageList | Boolean | Read/Write | Permission to modify Lion Imagelists |
| ModifyLionReports | Boolean | Read/Write | Permission to modify Lion Reports |
| ModifyLionWebServiceConsumed | Boolean | Read/Write | Permission to modify Lion Consumed Web Services |
| ModifyLionWebServiceProvided | Boolean | Read/Write | Permission to modify Lion Provided Web Services |
| ModifySchemas | Boolean | Read/Write | Permission to modify Schemas |
| ModifyScriptFolders | Boolean | Read/Write | Permission to modify Script Folders |
| ModifyScripts | Boolean | Read/Write | Permission to modify Scripts |
| ModifyStoredProcedures | Boolean | Read/Write | Permission to modify Database Stored Procedures |
| ModifyTables | Boolean | Read/Write | Permission to modify Database Tables |
| ModifyViews | Boolean | Read/Write | Permission to modify Views |
| SelectGenPriority | Boolean | Read/Write | Permission to set a different priority level for the objects that will be generated |
| SelectRevision | Boolean | Read/Write | Permission to select another revision |
| UseGetAllNewest | Boolean | Read/Write | Permission to use 'Get all newest' |
| ViewLocks | Boolean | Read/Write | Permission to view a currently locked object that is being edited by another user. This gives you a view of the changes up until the last Save action was performed. |
Example
C#
ILionReposPermissions reposPermissions = security.GetPermissions(app, genSet, securityGroup);
reposPermissions.UseGetAllNewest = true;
security.SavePermissions(app, genSet, securityGroup, reposPermissions);
PowerShell
$O_ReposPermissions = $O_Security.GetPermissions($O_App, $O_GenSet, $O_SecurityGroup)
$O_ReposPermissions.UseGetAllNewest = $true
$O_Security.SavePermissions($O_App, $O_GenSet, $O_SecurityGroup, $O_ReposPermissions)
