Chinaunix首页 | 论坛 | 博客
  • 博客访问: 7127000
  • 博文数量: 655
  • 博客积分: 10264
  • 博客等级: 上将
  • 技术积分: 8278
  • 用 户 组: 普通用户
  • 注册时间: 2007-06-04 17:47
个人简介

ABAP顾问

文章分类

全部博文(655)

文章存档

2017年(2)

2014年(8)

2013年(3)

2012年(2)

2011年(18)

2010年(102)

2009年(137)

2008年(274)

2007年(134)

分类:

2009-01-05 13:57:41

其中一个方法是把用户类型设置为S,服务用户

 

附:用户类型说明


'A':对话用户
A normal dialog user is used by one person only for all types of logon.

During a dialog logon, the system checks for expired and initial passwords and provides an option to change the password.

Multiple dialog logons are checked and logged if necessary.

'B':系统用户(内部RFC和后台JOB定义等)
Use the system user type for internal system processes (-> background processing) or system-related processes (-> ALE, workflow, TMS, CUA).

Dialog logon (using SAP GUI) is not possible.

A user of this type is excluded from the general settings for password validity. Only user administrators can change the password using transaction SU01 (Goto -> Change Password).

Multiple logons are permissible.

'C':通讯用户(外部RFC)
Use users of type Communication for dialog-free communication between systems (-> RFC or CPIC) .

Dialog logon (using SAP GUI) is not possible.

The general settings for the validity period of a password apply to users of this type. Users of this type can change their passwords (like dialog users). The dialogs for changing the password must be provided by the caller (RFC/CPIC client). You can use the RFC function module USR_USER_CHANGE_PASSWORD_RFC or the RFC API function RfcOpenEx() to change the password.

'S':服务用户
A user of the type Service is a dialog user that is available to an anonymous, larger group of users. Generally, this type of user should only be assigned very restricted authorizations.

For example, service users are used for anonymous system access using an ITS service or a public Web service. Once an individual has been authenticated, a session that started anonymously using a service user can be continued as a personal session using a dialog user (see SUSR_INTERNET_USERSWITCH)

During logon, the system does not check for expired and initial passwords. Only the user administrator can change the password.

Multiple logon is allowed.

'L':参考用户
Like the service user, a reference user is a general user, not assigned to a particular person. You cannot log on using a reference user. The reference user is only used to assign additional authorization. Reference users are implemented to equip Internet users with identical authorizations.

On the Roles tab, you can specify a reference user for additional rights for dialog users. Generally, the application controls the allocation of reference users. You can allocate the name of the reference user using variables. The variables should begin with "$". You assign variables to reference users in transaction SU_REFUSERVARIABLE.

This assignment applies to all systems in a CUA landscape. If the assigned reference user does not exist in one of the CUA child systems, the assignment is ignored.

Overview
Overview of the properties of users of the different user types:

特性 \ 用户类型

A

C

B

S

Dialog logon (SAP GUI)

X

-

-

X

Multiple logons

-

X

X

X

RFC logon

X

X

X

X

Background job execution

X

-

X

X

Password change

X

X

-

-

Logon ticket can be generated

X

X

-

-

阅读(5069) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~