Skip to Content
author's profile photo Former Member
Former Member

Disable a User In UME <-> Not Delete

Hi,

I've created a user using UME 4.0 in EP6.0 sp2.i want to disable the user instead of deleting the user completly, so that i can enable the same user later on instead of again creating as a new user.Is there any api in UME to perform the above mentioned task.

Regards

Srinivas.p

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 30, 2004 at 06:57 AM

    See the IUserAccount method setLocked from

    http://media.sdn.sap.com/html/submitted_docs/60_sp2_javadocs/ume/com/sap/security/api/IUserAccount.html

    You can get the IUserAccount through the UMFactory.getUserAccountFactory() and then call the getUserAccount method on the IUserAccountFactory

    UME API is available through http://media.sdn.sap.com/html/submitted_docs/60_sp2_javadocs/ume/index.html

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 30, 2004 at 04:32 PM

    Hi Dagfinn,

    I've seen the setLocked method but its purpose would be that when a user login attempts fail it gets locked or admin locks it.I'm looking at something like disable the user.Is there any other way to disable the user.If i use setLocked then it would be used in either case

    i) User Login attempts fail (Or)

    ii)when i delete the user and if i use setLocked

    which is not desired.

    Any other help would be appreciated

    Regards

    Srinivas.P

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.