博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Oracle API Availability – Profile
阅读量:6421 次
发布时间:2019-06-23

本文共 2770 字,大约阅读时间需要 9 分钟。

zz:

In oracle user Profile functionality is provided in the FND_PROFILE package and the FNDSQF library.

What is inside this API:

  • Retrieve user profile values for the current run-time environment
  • Set user profile values for the current run-time environment

There are various Objects that can be used with this API's. These are discussed below:

1. Put :This can be used to put a value to the specified user profile option.

Usage:

  • FND_Profile.Put('PROFILE_NAME','New_Value')
  • FND_Profile.Put('USERNAME', Usr_Name)
  • FND_Profile.Put('RESP_ID', Resp_ID)
  • FND_Profile.Put('RESP_APPL_ID', Resp_App_ID)
  • FND_Profile.Put('USER_ID', User_ID)

2.DEFINED : this is function returns TRUE if a value has been assigned to the specified profile option.

Usage:

  • SELECT fnd_profile.defined('ACCOUNT_GENERATOR:DEBUG_MODE') ACC_GEN_DEBUG_SESSION_MODE FROM DUAL;

3.GET :This is used to retrieve the current value of the specified user profile option

Usage :

Different type of options can be retrieved like

  • FND_Profile.Get('PROFILENAME', Profile_name);
  • FND_Profile.Get('CONC_LOGIN_ID', Conc_login_id);
  • FND_Profile.Get('LOGIN_ID', loginid);

4.VALUE : This is function which returns a character string. Used to retrieve the current value of the specified user profile option.

Usage:

  • fnd_profile.value('PROFILEOPTION')
  • fnd_profile.value('MFG_ORGANIZATION_ID')
  • fnd_profile.value('login_ID')
  • fnd_profile.value('USER_ID')
  • fnd_profile.value('USERNAME')
  • fnd_profile.value('CONCURRENT_REQUEST_ID')
  • fnd_profile.value('GL_SET_OF_BKS_ID')
  • fnd_profile.value('ORG_ID')
  • fnd_profile.value('SO_ORGANIZATION_ID')
  • fnd_profile.value('APPL_SHRT_NAME')
  • fnd_profile.value('RESP_NAME')
  • fnd_profile.value('RESP_ID')

5.VALUE_WNPS: This is a function, returns a character string. This is Used to retrieve the current value of the specified user profile option without caching it.

6.SAVE_USER :This is function used to save a value for a profile option permanently to the database, for the current user level. It is necessary to explicitly issue a commit when using this function. Returns TRUE if profile option is successfully saved, otherwise FALSE.

7.SAVE :This is function used to save a value for a profile option permanently to the database, for a specified level. It is necessary to explicitly issue a commit when using this function. Returns TRUE if profile option is successfully saved, otherwise FALSE.

Usage

  • fnd_profile.save('GUEST_USER_PWD', 'GUEST/ORACLE', 'SITE');

8.INITIALIZE :This is used by internal Applications Object Library to initialize the internal profile information at the level context.

The cache is first cleared of all database options.

Usage:

  • fnd_profile.initialize(user_id);

9.PUTMULTIPLE :This is used by internal Applications Object Library to set multiple pairs of profile options and values.

转载地址:http://vplra.baihongyu.com/

你可能感兴趣的文章
Linux 添加Nginx 到 service 启动
查看>>
蓝牙进阶之路 (002) - HC-05与HC-06的AT指令的区别(转)
查看>>
转载:浅谈 Scala 中下划线的用途
查看>>
Centos7下安装mysql5.6需要注意的点
查看>>
算法之美--3.2.3 KMP算法
查看>>
c#代码加密
查看>>
网线/双绞线上各标识CAT, AWG, PR, UTP/STP/FTP/SFTP的含义
查看>>
js调用ios和安卓方法
查看>>
C# 进程同步,通信
查看>>
云计算那些事
查看>>
JVM致命错误日志(hs_err_pid.log)分析(转载)
查看>>
tensorflow训练代码
查看>>
mysql考试总结
查看>>
Solve error LNK2001 about pcl::io::vtkPolyDataToPointCloud
查看>>
Oracle性能优化之表压缩及并行提高效率的测试
查看>>
Android性能测试工具Emmagee介绍
查看>>
Libimseti推荐系统
查看>>
phalcon查询:单条查询,多条查询,多表查询
查看>>
ionic2 自定义cordova插件开发以及使用 (Android)
查看>>
spark一些入门资料
查看>>