Skip to Content
author's profile photo
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 comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • author's profile photo
    Former Member
    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 comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    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 comment
    10|10000 characters needed characters exceeded