{
    "content": [
        {
            "type": "text",
            "text": "# User::Identity::System (perldoc)\n\n## NAME\n\nUser::Identity::System - physical system of a person\n\n## SYNOPSIS\n\nuse User::Identity;\nuse User::Identity::System;\nmy $me   = User::Identity->new(...);\nmy $server = User::Identity::System->new(...);\n$me->add(system => $server);\n# Simpler\nuse User::Identity;\nmy $me   = User::Identity->new(...);\nmy $addr = $me->add(system => ...);\n\n## DESCRIPTION\n\nThe \"User::Identity::System\" object contains the description of the user's presence on a system.\nThe systems are collected by an User::Identity::Collection::Systems object.\n\n## Sections\n\n- **NAME**\n- **INHERITANCE**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **METHODS** (4 subsections)\n- **DIAGNOSTICS**\n- **SEE ALSO**\n- **LICENSE**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "User::Identity::System",
        "section": "",
        "mode": "perldoc",
        "summary": "User::Identity::System - physical system of a person",
        "synopsis": "use User::Identity;\nuse User::Identity::System;\nmy $me   = User::Identity->new(...);\nmy $server = User::Identity::System->new(...);\n$me->add(system => $server);\n# Simpler\nuse User::Identity;\nmy $me   = User::Identity->new(...);\nmy $addr = $me->add(system => ...);",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "INHERITANCE",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 12,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 7,
                "subsections": []
            },
            {
                "name": "METHODS",
                "lines": 2,
                "subsections": [
                    {
                        "name": "Constructors",
                        "lines": 40
                    },
                    {
                        "name": "Attributes",
                        "lines": 18
                    },
                    {
                        "name": "Collections",
                        "lines": 24
                    },
                    {
                        "name": "Searching",
                        "lines": 5
                    }
                ]
            },
            {
                "name": "DIAGNOSTICS",
                "lines": 22,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "LICENSE",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "User::Identity::System - physical system of a person\n",
                "subsections": []
            },
            "INHERITANCE": {
                "content": "User::Identity::System\nis a User::Identity::Item\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use User::Identity;\nuse User::Identity::System;\nmy $me   = User::Identity->new(...);\nmy $server = User::Identity::System->new(...);\n$me->add(system => $server);\n\n# Simpler\n\nuse User::Identity;\nmy $me   = User::Identity->new(...);\nmy $addr = $me->add(system => ...);\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "The \"User::Identity::System\" object contains the description of the user's presence on a system.\nThe systems are collected by an User::Identity::Collection::Systems object.\n\nNearly all methods can return undef.\n\nExtends \"DESCRIPTION\" in User::Identity::Item.\n",
                "subsections": []
            },
            "METHODS": {
                "content": "Extends \"METHODS\" in User::Identity::Item.\n",
                "subsections": [
                    {
                        "name": "Constructors",
                        "content": "Extends \"Constructors\" in User::Identity::Item.\n\nUser::Identity::System->new( [$name], %options )\nCreate a new system. You can specify a name as first argument, or in the OPTION list.\nWithout a specific name, the organization is used as name.\n\n-Option     --Defined in          --Default\ndescription  User::Identity::Item  undef\nhostname                           'localhost'\nlocation                           undef\nname         User::Identity::Item  <required>\nos                                 undef\nparent       User::Identity::Item  undef\npassword                           undef\nusername                           undef\n\ndescription => STRING\nhostname => DOMAIN\nThe hostname of the described system. It is preferred to use full system names, not\nabbreviations. For instance, you can better use \"www.tux.aq\" than \"www\" to avoid\nconfusion.\n\nlocation => NICKNAME|OBJECT\nThe NICKNAME of a location which is defined for the same user. You can also specify a\nUser::Identity::Location OBJECT.\n\nname => STRING\nos => STRING\nThe name of the operating system which is run on the server. It is advised to use the\nnames as used by Perl's $^O variable. See the perlvar man-page for this variable, and\nperlport for the possible values.\n\nparent => OBJECT\npassword => STRING\nThe password to be used to login. This password must be un-encoded: directly usable. Be\nwarned that storing un-encoded passwords is a high security list.\n\nusername => STRING\nThe username to be used to login to this host.\n"
                    },
                    {
                        "name": "Attributes",
                        "content": "Extends \"Attributes\" in User::Identity::Item.\n\n$obj->description()\nInherited, see \"Attributes\" in User::Identity::Item\n\n$obj->hostname()\n$obj->location()\nReturns the object which describes to which location this system relates. The location may\nbe used to find the name of the organization involved, or to create a signature. If no\nlocation is specified, undef is returned.\n\n$obj->name( [$newname] )\nInherited, see \"Attributes\" in User::Identity::Item\n\n$obj->os()\n$obj->password()\n$obj->username()\n"
                    },
                    {
                        "name": "Collections",
                        "content": "Extends \"Collections\" in User::Identity::Item.\n\n$obj->add($collection, $role)\nInherited, see \"Collections\" in User::Identity::Item\n\n$obj->addCollection( $object | <[$type], %options> )\nInherited, see \"Collections\" in User::Identity::Item\n\n$obj->collection($name)\nInherited, see \"Collections\" in User::Identity::Item\n\n$obj->parent( [$parent] )\nInherited, see \"Collections\" in User::Identity::Item\n\n$obj->removeCollection($object|$name)\nInherited, see \"Collections\" in User::Identity::Item\n\n$obj->type()\nUser::Identity::System->type()\nInherited, see \"Collections\" in User::Identity::Item\n\n$obj->user()\nInherited, see \"Collections\" in User::Identity::Item\n"
                    },
                    {
                        "name": "Searching",
                        "content": "Extends \"Searching\" in User::Identity::Item.\n\n$obj->find($collection, $role)\nInherited, see \"Searching\" in User::Identity::Item\n"
                    }
                ]
            },
            "DIAGNOSTICS": {
                "content": "Error: $object is not a collection.\nThe first argument is an object, but not of a class which extends\nUser::Identity::Collection.\n\nError: Cannot load collection module for $type ($class).\nEither the specified $type does not exist, or that module named $class returns compilation\nerrors. If the type as specified in the warning is not the name of a package, you specified\na nickname which was not defined. Maybe you forgot the 'require' the package which defines\nthe nickname.\n\nError: Creation of a collection via $class failed.\nThe $class did compile, but it was not possible to create an object of that class using the\noptions you specified.\n\nError: Don't know what type of collection you want to add.\nIf you add a collection, it must either by a collection object or a list of options which\ncan be used to create a collection object. In the latter case, the type of collection must\nbe specified.\n\nWarning: No collection $name\nThe collection with $name does not exist and can not be created.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "This module is part of User-Identity distribution version 1.01, built on February 11, 2022.\nWebsite: http://perl.overmeer.net/CPAN/\n",
                "subsections": []
            },
            "LICENSE": {
                "content": "Copyrights 2003-2022 by [Mark Overmeer <markov@cpan.org>]. For other contributors see ChangeLog.\n\nThis program is free software; you can redistribute it and/or modify it under the same terms as\nPerl itself. See http://dev.perl.org/licenses/\n",
                "subsections": []
            }
        }
    }
}