# Revoke UserName from my natural program

**URL:** <https://techcommunity.softwareag.com/t/revoke-username-from-my-natural-program/198729>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-on-Mainframes\
**Created:** [March 31, 2018, 9:37pm UTC](https://techcommunity.softwareag.com/t/revoke-username-from-my-natural-program/198729 "2018-03-31T21:37:51Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mohammed\_Alzahrani](https://avatars.discourse-cdn.com/v4/letter/m/b5e925/32.png) [@Mohammed\_Alzahrani](https://techcommunity.softwareag.com/u/Mohammed_Alzahrani)\
**Post date:** [March 31, 2018, 9:37pm UTC](https://techcommunity.softwareag.com/t/revoke-username-from-my-natural-program/198729/1 "2018-03-31T21:37:51Z")

</div>

Hi,

I am trying to write a batch natural program to revoke username of my mainframe users depending on some criteria , such as any employee who is going for vacation starting from tomorrow.

Regards

---

<div class="post-metadata">

**Author:** ![Douglas\_Kelly](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/douglas_kelly/32/102_2.png) [@Douglas\_Kelly](https://techcommunity.softwareag.com/u/Douglas_Kelly)\
**Post date:** [April 1, 2018, 5:48am UTC](https://techcommunity.softwareag.com/t/revoke-username-from-my-natural-program/198729/2 "2018-04-01T05:48:04Z")

</div>

Can you explain what you are asking for in a bit more detail? Are you looking to revoke Natural Security users? RACF users? How are you identifying users to be suspended or revoked?

What do have developed so far and what roadblocks are you encountering?

---

<div class="post-metadata">

**Author:** ![Mohammed\_Alzahrani](https://avatars.discourse-cdn.com/v4/letter/m/b5e925/32.png) [@Mohammed\_Alzahrani](https://techcommunity.softwareag.com/u/Mohammed_Alzahrani)\
**Post date:** [April 1, 2018, 3:26pm UTC](https://techcommunity.softwareag.com/t/revoke-username-from-my-natural-program/198729/3 "2018-04-01T15:26:45Z")

</div>

Thank you for your reply

What I need is to disable user racf account programmatically using Natural code. So he/she cannot login to the mainframe until help desk staff enable it for him.

I can do that on the applucation level now where a user can login to the operating system but cannot use any of natural applications.

Regards

---

<div class="post-metadata">

**Author:** ![Douglas\_Kelly](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/douglas_kelly/32/102_2.png) [@Douglas\_Kelly](https://techcommunity.softwareag.com/u/Douglas_Kelly)\
**Post date:** [April 2, 2018, 6:59am UTC](https://techcommunity.softwareag.com/t/revoke-username-from-my-natural-program/198729/4 "2018-04-02T06:59:20Z")

</div>

Do you have Natural SAF? Or any of the Software AG SAF products (EntireX Security, Adabas SAF)?

---

<div class="post-metadata">

**Author:** ![Mohammed\_Alzahrani](https://avatars.discourse-cdn.com/v4/letter/m/b5e925/32.png) [@Mohammed\_Alzahrani](https://techcommunity.softwareag.com/u/Mohammed_Alzahrani)\
**Post date:** [April 2, 2018, 11:13am UTC](https://techcommunity.softwareag.com/t/revoke-username-from-my-natural-program/198729/5 "2018-04-02T11:13:02Z")

</div>

We don’t have Entire X.

I am not sure about SAF! Could you give more info about it .

Thanks

---

<div class="post-metadata">

**Author:** ![Douglas\_Kelly](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/douglas_kelly/32/102_2.png) [@Douglas\_Kelly](https://techcommunity.softwareag.com/u/Douglas_Kelly)\
**Post date:** [April 3, 2018, 8:10am UTC](https://techcommunity.softwareag.com/t/revoke-username-from-my-natural-program/198729/6 "2018-04-03T08:10:59Z")

</div>

SAF (Security Access Facility) is an IBM component that allows access to the security resources on z/OS from RACF (IBM product) and third party products (ACF2, Top Secret).

At one point, Software AG included interfaces to the SAF modules from Natural, but I think they ran into some issues with providing those and they were dropped.

However, I suspect you can still call the IBM provided interfaces from Natural with the CALL interface, but you will need IBM documentation to do so. Please check on IBM’s documentation websites to see how to call their (assembler) interfaces.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 3:40pm UTC](https://techcommunity.softwareag.com/t/revoke-username-from-my-natural-program/198729/7 "2021-04-02T15:40:24Z")

</div>


