ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Ayuda
  • Sign Out
ArcGIS Desktop

ArcGIS Online

La plataforma de representación cartográfica para tu organización

ArcGIS Desktop

Un completo SIG profesional

ArcGIS Enterprise

SIG en tu empresa

ArcGIS for Developers

Herramientas para crear aplicaciones basadas en la ubicación

ArcGIS Solutions

Plantillas de aplicaciones y mapas gratuitas para tu sector

ArcGIS Marketplace

Obtén aplicaciones y datos para tu organización.

  • Documentación
  • Soporte
Esri
  • Iniciar sesión
user
  • Mi perfil
  • Cerrar sesión

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • Extensions

Granting privileges to NIS components in Oracle using a script

Since the NIS XML was imported into the geodatabase, you need to assign permissions in the new NIS workspace to the editor and viewer database roles and assign the roles to the individual users.

Nota:

La operación de copiar y pegar el ejemplo puede dar lugar a errores de sintaxis.

In SQL Server Management Studio, grant permissions to the NIS workspace tables through database roles.

The sample script shows how to remove existing members from a role and drop the roles, re-create the roles, and assign permissions to the role through the schema.

set echo off;
set verify off;
set heading off;
set feedback off;
set newpage none;
set termout off;
set lines 200;
set trims on;
ttitle off;
btitle off;
clear;
SET SERVEROUTPUT ON;
spool Roles_nis.sql;

select 'DROP ROLE "RLNISEDITOR";' from dual;
select 'CREATE ROLE "RLNISEDITOR" NOT IDENTIFIED;' from dual;
select 'DROP ROLE "RLNISVIEWER";' from dual;
select 'CREATE ROLE "RLNISVIEWER" NOT IDENTIFIED;' from dual;

select 'grant select on ' ||owner|| '.' || table_name || '  to RLNISVIEWER;'
from sys.dba_tables where lower(owner) = 'nis' order by table_name;

select 'grant select,insert,update,delete on ' ||owner|| '.' || table_name || ' to RLNISEDITOR;'
from sys.dba_tables where lower(owner) = 'nis' order by table_name;

spool off;
set echo off;
set verify off;
set heading off;
set feedback off;
set newpage none;
set termout off;
set lines 200;
set trims on;
ttitle off;
btitle off;
clear;

SET SERVEROUTPUT ON;
/
@Roles_nis.sql;
/

ArcGIS Desktop

  • Inicio
  • Documentación
  • Soporte

Plataforma ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

Acerca de Esri

  • Quiénes somos
  • Empleo
  • Blog de Esri
  • Conferencia de usuarios
  • Cumbre de desarrolladores
Esri
Díganos su opinión.
Copyright © 2020 Esri. | Privacidad | Legal