After PASSWORD change, user getting "Not Authorized" notification

Version 1
    This document was generated from CDN thread

    Created by: Viki Rai on 08-10-2010 07:26:13 AM
    Hi Helping hands,
     
    I am using 7.1.3-CUPI-WADL version.
     
    Ques : 1
    When I do a PUT request to change PASSWORD using the following snippet, changes are getting saved. After that when I logged into the server using the user credentials, Im successfully logging in but getting msg User Not Autherized.
     
    PUT  https://<server>/vmrest/users/<userobjectid>/credential/password
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Credential>
    <CredentialType>3</CredentialType>
    <Credentials>Welcome1</Credentials>
    <CantChange>false</CantChange>
    <Alias>xxxx</Alias>
    <EncryptionType>3</EncryptionType>
    </Credential>
     
    Plss guide me.

    Subject: RE: After PASSWORD change, user getting "Not Authorized" notifica
    Replied by: David Wanagel on 08-10-2010 03:20:56 PM
    Not authorized means that the API recognizes the user, but that user does not have the right role to access the target resource.  You can check the roles your user has using the regular administrative GUI.  
     
    As a side not, CUPI is meant to be used by administrators, but can only manage end users, so a user created in CUPI is by default an end user.  If you want you want to create or check the role of an administrator, you can use the regular administrative GUI.
     
    -Dave

    Subject: RE: After PASSWORD change, user getting "Not Authorized" notifica
    Replied by: Viki Rai on 08-10-2010 04:16:59 PM
    Hey DAVE,
     
    Thanks mate, its working.