Search Mailing List Archives
[protege-discussion] How to Programmatically Assign User to Group for Protege Client-Server?
Csongor Nyulas
csongor.nyulas at stanford.edu
Wed Nov 9 17:08:13 PST 2011
Hi Philip,
Sorry for the late reply.
Those operations can be achieved with the help of the
*edu.stanford.smi.protege.server.metaproject.MetaProject* class.
One way of getting a handle on the MetaProject instance is through the
following method in the RemoteProjectManager class:
public MetaProject connectToMetaProject(RemoteServer server,
RemoteSession session);
Csongor
On 10/25/2011 6:48 PM, Philip Yeo wrote:
>
> Hi there,
>
> I came across the documentation on how to programmatically add and
> remove user to/from the server/metaproject.pprj file and associated files.
>
> http://protegewiki.stanford.edu/wiki/Creating_users
>
> I was wondering if there's any way to also programmatically:
>
> * create instances of groups,
> * assign user to group,
> * create group operation,
> * assign group operations to project
> * create instances of project
>
> Many thanks,
>
> --
> -- /Regards/,
> /*Philip Yeo*/
>
>
> _______________________________________________
> protege-discussion mailing list
> protege-discussion at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/protege-discussion
>
> Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/protege-discussion/attachments/20111109/dc6076b8/attachment.html>
More information about the protege-discussion
mailing list