To manage users and groups, perform the following steps:
Include project files.
Create a DirectoryManagerService client.
Invoke the appropriate user or group operations.
Include project filesInclude necessary files in your development
project. If you are creating a client application using Java, then
include the necessary JAR files. If you are using web services,
then make sure that you include the proxy files.
Create a DirectoryManagerService clientBefore you can programmatically
perform a Directory Manager service operation, you must create a
Directory Manager service client. With the Java API this is accomplished
by creating a DirectoryManagerServiceClient object.
With the web service API this is accomplished by creating a DirectoryManagerServiceService object.
Invoke the appropriate user or group operationsOnce
you have created the service client, you can then invoke the user
or group management operations. The service client allows you to
assign, remove, and query domains, user, and groups. Note that it
is possible to add either a directory principal or a local principal
to a local group, but it is not possible to add a local principal
to a directory group.
|
|
|