[one-users] RPC client: how to determine my user id?
Carsten.Friedrich at csiro.au
Carsten.Friedrich at csiro.au
Mon Mar 7 14:08:10 PST 2011
Hi Carlos,
Thanks for the reply. Using -1 or -2 and then filtering on the client side based on the username works for one.userpool.info<http://one.userpool.info>. (Still wouldn't work for one.user.passwd however).
Thanks,
Carsten
From: Carlos Martín Sánchez [mailto:cmartin at opennebula.org]
Sent: Monday, 7 March 2011 22:23
To: Friedrich, Carsten (ICT Centre, Acton)
Cc: users at lists.opennebula.org
Subject: Re: [one-users] RPC client: how to determine my user id?
Hi Carsten,
You can use instead the -1 filter flag [1].
The user ID is intended for administrators. Authorized users like 'oneadmin' can perform a one.userpool.info<http://one.userpool.info> call and look for the ID of a given name.
Regards,
Carlos.
[1] http://opennebula.org/documentation:rel2.0:api#image_pool_information
--
Carlos Martín, MSc
Project Major Contributor
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org<http://www.opennebula.org/> | cmartin at opennebula.org<mailto:cmartin at opennebula.org>
On 7 March 2011 02:21, <Carsten.Friedrich at csiro.au> wrote:
Over RPC, how do I find out what my user id is; e.g. for use in other calls such as one.imagepool.info<http://one.imagepool.info> .
Thanks,
Carsten
_______________________________________________
Users mailing list
Users at lists.opennebula.org<mailto:Users at lists.opennebula.org>
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110308/88b04dc5/attachment-0002.htm>
More information about the Users
mailing list