[one-users] RPC client: how to determine my user id?

Carlos Martín Sánchez cmartin at opennebula.org
Fri Apr 15 06:20:39 PDT 2011


Hi Carsten,

I just wanted to let you know that we have implemented an XML-RPC method
one.user.info, that can be called with -1 to know all your own user
information.

You can follow the development here:
http://dev.opennebula.org/issues/552

Regards,
Carlos.

--
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


On 11 March 2011 00:24, <Carsten.Friedrich at csiro.au> wrote:

> Groups and permissions would be fantastic. Especially regarding image
> management I have a very current need for this!
>
>
>
> Looking forward to it.
>
>
>
> Carsten
>
>
>
>
>
> *From:* Carlos Martín Sánchez [mailto:cmartin at opennebula.org]
> *Sent:* Thursday, 10 March 2011 23:31
>
> *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 are right, there are some operations that require the user ID and only
> oneadmin can know it.
>
> For now, those operations will remain only accessible to oneadmin. In the
> short term, we want to improve the overall user management (to add groups
> and, maybe, permissions) and we'll address this issue at that moment.
>
>
>
> Thanks and regards,
>
> Carlos.
> --
> 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
>
> On 7 March 2011 23:08, <Carsten.Friedrich at csiro.au> wrote:
>
> 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. (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 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
>
> 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 .
>
>
>
> Thanks,
>
> Carsten
>
>
>
>
> _______________________________________________
> Users mailing list
> 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/20110415/b29024a0/attachment-0002.htm>


More information about the Users mailing list