Task: assign-virtual-portal-admin-group
Portal ConfigEngine task that assigns a group of administrators to a virtual portal.
Use this task after the creation of a virtual portal to assign a subadministrator group to the virtual portal. This task gives this group permission on the root content node of the virtual portal and all its child pages. The task also gives Editor role access to the administration portlets of the virtual portal. This group must be within the realm specified for the virtual portal.
Parameters
- VirtualPortalAdminGroup
- The full DN (distinguished name) of the administrator group.
- Virtual portal context or host name
- We address the virtual portal using either the portal context or the virtual host name, depending on what specified when creating the virtual portal. If we specified both, specify the host name here.
- VirtualPortalContext
- The portal context of the virtual portal.
- VirtualPortalHostName
- The host name of the virtual portal.
Syntax
You pass the parameters in the parameter list for each configuration task as appropriate. We do this by either of the following methods:
- Specify the parameter and value that is preceded by -D on the command line.
- Define them in the file wkplc.properties.
The property file must be encoded in the ISO 8859-1 character encoding format.
- AIX
- ./ConfigEngine.sh assign-virtual-portal-admin-group -DVirtualPortalAdminGroup=cn=vpadmins,o=defaultwimfilebasedrealm -DVirtualPortalContext=mynewvp -DPortalAdminPwd=foo -DWasPassword=foo
- HP-UX
- ./ConfigEngine.sh assign-virtual-portal-admin-group -DVirtualPortalAdminGroup=cn=vpadmins,o=defaultwimfilebasedrealm -DVirtualPortalContext=mynewvp -DPortalAdminPwd=foo -DWasPassword=foo
- IBM i
- ConfigEngine.sh assign-virtual-portal-admin-group -DVirtualPortalAdminGroup=cn=vpadmins,o=defaultwimfilebasedrealm -DVirtualPortalContext=mynewvp -DPortalAdminPwd=foo -DWasPassword=foo
- Linux
- ./ConfigEngine.sh assign-virtual-portal-admin-group -DVirtualPortalAdminGroup=cn=vpadmins,o=defaultwimfilebasedrealm -DVirtualPortalContext=mynewvp -DPortalAdminPwd=foo -DWasPassword=foo
- Solaris
- ./ConfigEngine.sh assign-virtual-portal-admin-group -DVirtualPortalAdminGroup=cn=vpadmins,o=defaultwimfilebasedrealm -DVirtualPortalContext=mynewvp -DPortalAdminPwd=foo -DWasPassword=foo
- Windows
- ConfigEngine.bat assign-virtual-portal-admin-group -DVirtualPortalAdminGroup=cn=vpadmins,o=defaultwimfilebasedrealm -DVirtualPortalContext=mynewvp -DPortalAdminPwd=foo -DWasPassword=foo
We can create a virtual portal and assign the administrator group in the same command. For example, we can specify it as: ./ConfigEngine.sh create-virtual-portal assign-virtual-portal-admin-group -DVirtualPortalAdminGroup=cn=vpadmins,o=defaultwimfilebasedrealm -DVirtualPortalContext=mynewvp -DVirtualPortalTitle=mynewvptitle -DPortalAdminPwd=foo -DWasPassword=foo
Parent Portal ConfigEngine tasks for administering virtual portals
Related information
Technotes for virtual portals