sourCEntral - mobile manpages




Net::DRI::Data::Contact::NO − Handle .NO contact data for Net::DRI


This subclass of Net::DRI::Data::Contact adds accessors and validation for .NO specific data.


The following accessors/mutators can be called in chain, as they all return the object itself.

Mandatory, must be set for all contacts. Specify what type of contact to register. Value must be one of: ’person’, ’organization’ or ’role’.

Example: $co−>type(’organization’)

Currently valid for type=’organization’ only. Must then be set to specify the organization number in Bronnoysund, the Norwegian Business Register.

Example: $co−>identity({type=>’organizationNumber’, value=>’987654321’});

Optional. Set a mobile phone number for the contact.

Example: $co−>mobilephone(’+47.123456780’)

Optional. Set one or more organization-elements which specify organizations which the contact belongs to. The value should be the local contact id of an organization object.

This element can only be used for role and person contacts.

$co−>organization(’ EFA12O ’);

Optional. Set one or more roleContact-elements which specify persons which belongs to a role contact. The value should be the local contact id of a person object.

This element can only be used for role contacts.

Example: $co−>rolecontact([’ JD12P ’, ’ JD13P ’]);

Optional. Set one or more email-elements which specify email addresses in addition to the mandatory email element in the standard contact create command.

Example: $co−>xemail([’xtra1 AT example DOT no’, ’xtra2 AT example DOT no’]);

Optional. A disclose-element which must contain the child element mobilePhone. This element notes the clients preference to allow or restrict disclosure of the mobile phone number. If not present, the servers stated data collection policy is used.

Example: $co−>xdisclose({mobilePhone=>0});

facets() Facets are some special control attributes that can be used to implement a super registrar (admin registrar).
A super registrar can suppress certain checks and perform actions on behalf of a normal registrar.

Facets are key/values pairs. Net::DRI will not try to enforce what key/value pairs that are possible, but let the registry decide their validity.

Example: $co−>facets( { ’skip−manual−review’ => 1, ’ignores−exceptions’ => ’reg123’} );


For now, support questions should be sent to:

<netdri AT dotandco DOT com>

Please also see the SUPPORT file in the distribution.



Trond Haugen, <info AT norid DOT no>.


Copyright (c) 2008−2010 UNINETT Norid AS , <>, Trond Haugen <info AT norid DOT no>. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

See the LICENSE file that comes with this distribution for more details.