GroupInfo::NTNU
- Class to retrieve research group-memberships of a user in NTNUs LDAP-catalogue
use GroupInfo::NTNU;
# instantiate
my $gi=GroupInfo::NTNU->new();
# get users groups
my $groups=$gi->getGroups("john.doe@ntnu.no");
# get a groups unique ID (whatever works for the sub-class in question)
my $id=$gi->getGroupID("mygroup");
# get a groups name from ID
my $name=$gi->getGroupName ($id);
# get a groups path (up to inheriting sub-class to define)
my $path=$gi->getGroupPath("mygroup");
# get AURORA metadata namespace location for the group ID
my $location=$gi->namespace();
Class to retrieve research group-memberships of a user in NTNUs LDAP-catalogue.
This class is inherited from the GroupInfo-class. Please see the class-documentation of the GroupInfo-class for more in-depth information.
This function returns the path to the group in question in AURORA.
This method is specific to group-admin at NTNU. It parses the group-name to retrieve the path where the group is to be placed.
See the GroupInfo-class for more information on this method.
Get the groups at NTNU that a specific user are a member of at NTNU.
Uses LDAP to get the relevant group-memberships.
See the GroupInfo-class for more information on this method.
Returns the AURORA namespace location for the ID of this sub-class.
See the GroupInfo-class for more information on this method.