OwlCyberSecurity - MANAGER
Edit File: caldavclientlibrary.browser.commands.user-pysrc.html
<?xml version="1.0" encoding="ascii"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>caldavclientlibrary.browser.commands.user</title> <link rel="stylesheet" href="epydoc.css" type="text/css" /> <script type="text/javascript" src="epydoc.js"></script> </head> <body bgcolor="white" text="black" link="blue" vlink="#204080" alink="#204080"> <!-- ==================== NAVIGATION BAR ==================== --> <table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0"> <tr valign="middle"> <!-- Home link --> <th> <a href="caldavclientlibrary-module.html">Home</a> </th> <!-- Tree link --> <th> <a href="module-tree.html">Trees</a> </th> <!-- Index link --> <th> <a href="identifier-index.html">Indices</a> </th> <!-- Help link --> <th> <a href="help.html">Help</a> </th> <th class="navbar" width="100%"></th> </tr> </table> <table width="100%" cellpadding="0" cellspacing="0"> <tr valign="top"> <td width="100%"> <span class="breadcrumbs"> <a href="caldavclientlibrary-module.html">Package caldavclientlibrary</a> :: <a href="caldavclientlibrary.browser-module.html">Package browser</a> :: <a href="caldavclientlibrary.browser.commands-module.html">Package commands</a> :: Module user </span> </td> <td> <table cellpadding="0" cellspacing="0"> <!-- hide/show private --> <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink" onclick="toggle_private();">hide private</a>]</span></td></tr> <tr><td align="right"><span class="options" >[<a href="frames.html" target="_top">frames</a >] | <a href="caldavclientlibrary.browser.commands.user-pysrc.html" target="_top">no frames</a>]</span></td></tr> </table> </td> </tr> </table> <h1 class="epydoc">Source Code for <a href="caldavclientlibrary.browser.commands.user-module.html">Module caldavclientlibrary.browser.commands.user</a></h1> <pre class="py-src"> <a name="L1"></a><tt class="py-lineno"> 1</tt> <tt class="py-line"><tt class="py-comment">##</tt> </tt> <a name="L2"></a><tt class="py-lineno"> 2</tt> <tt class="py-line"><tt class="py-comment"># Copyright (c) 2007-2016 Apple Inc. All rights reserved.</tt> </tt> <a name="L3"></a><tt class="py-lineno"> 3</tt> <tt class="py-line"><tt class="py-comment">#</tt> </tt> <a name="L4"></a><tt class="py-lineno"> 4</tt> <tt class="py-line"><tt class="py-comment"># Licensed under the Apache License, Version 2.0 (the "License");</tt> </tt> <a name="L5"></a><tt class="py-lineno"> 5</tt> <tt class="py-line"><tt class="py-comment"># you may not use this file except in compliance with the License.</tt> </tt> <a name="L6"></a><tt class="py-lineno"> 6</tt> <tt class="py-line"><tt class="py-comment"># You may obtain a copy of the License at</tt> </tt> <a name="L7"></a><tt class="py-lineno"> 7</tt> <tt class="py-line"><tt class="py-comment">#</tt> </tt> <a name="L8"></a><tt class="py-lineno"> 8</tt> <tt class="py-line"><tt class="py-comment"># http://www.apache.org/licenses/LICENSE-2.0</tt> </tt> <a name="L9"></a><tt class="py-lineno"> 9</tt> <tt class="py-line"><tt class="py-comment">#</tt> </tt> <a name="L10"></a><tt class="py-lineno">10</tt> <tt class="py-line"><tt class="py-comment"># Unless required by applicable law or agreed to in writing, software</tt> </tt> <a name="L11"></a><tt class="py-lineno">11</tt> <tt class="py-line"><tt class="py-comment"># distributed under the License is distributed on an "AS IS" BASIS,</tt> </tt> <a name="L12"></a><tt class="py-lineno">12</tt> <tt class="py-line"><tt class="py-comment"># WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</tt> </tt> <a name="L13"></a><tt class="py-lineno">13</tt> <tt class="py-line"><tt class="py-comment"># See the License for the specific language governing permissions and</tt> </tt> <a name="L14"></a><tt class="py-lineno">14</tt> <tt class="py-line"><tt class="py-comment"># limitations under the License.</tt> </tt> <a name="L15"></a><tt class="py-lineno">15</tt> <tt class="py-line"><tt class="py-comment">##</tt> </tt> <a name="L16"></a><tt class="py-lineno">16</tt> <tt class="py-line"> </tt> <a name="L17"></a><tt class="py-lineno">17</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-0" class="py-name" targets="Package caldavclientlibrary=caldavclientlibrary-module.html"><a title="caldavclientlibrary" class="py-name" href="#" onclick="return doclink('link-0', 'caldavclientlibrary', 'link-0');">caldavclientlibrary</a></tt><tt class="py-op">.</tt><tt id="link-1" class="py-name" targets="Package caldavclientlibrary.browser=caldavclientlibrary.browser-module.html,Variable caldavclientlibrary.ui.WebDAVBrowser.WebDAVBrowserDelegate.browser=caldavclientlibrary.ui.WebDAVBrowser.WebDAVBrowserDelegate-class.html#browser"><a title="caldavclientlibrary.browser caldavclientlibrary.ui.WebDAVBrowser.WebDAVBrowserDelegate.browser" class="py-name" href="#" onclick="return doclink('link-1', 'browser', 'link-1');">browser</a></tt><tt class="py-op">.</tt><tt id="link-2" class="py-name" targets="Module caldavclientlibrary.admin.xmlaccounts.commands.command=caldavclientlibrary.admin.xmlaccounts.commands.command-module.html,Module caldavclientlibrary.browser.command=caldavclientlibrary.browser.command-module.html"><a title="caldavclientlibrary.admin.xmlaccounts.commands.command caldavclientlibrary.browser.command" class="py-name" href="#" onclick="return doclink('link-2', 'command', 'link-2');">command</a></tt> <tt class="py-keyword">import</tt> <tt id="link-3" class="py-name" targets="Class caldavclientlibrary.admin.xmlaccounts.commands.command.Command=caldavclientlibrary.admin.xmlaccounts.commands.command.Command-class.html,Class caldavclientlibrary.browser.command.Command=caldavclientlibrary.browser.command.Command-class.html"><a title="caldavclientlibrary.admin.xmlaccounts.commands.command.Command caldavclientlibrary.browser.command.Command" class="py-name" href="#" onclick="return doclink('link-3', 'Command', 'link-3');">Command</a></tt> </tt> <a name="L18"></a><tt class="py-lineno">18</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-4" class="py-name"><a title="caldavclientlibrary" class="py-name" href="#" onclick="return doclink('link-4', 'caldavclientlibrary', 'link-0');">caldavclientlibrary</a></tt><tt class="py-op">.</tt><tt id="link-5" class="py-name"><a title="caldavclientlibrary.browser caldavclientlibrary.ui.WebDAVBrowser.WebDAVBrowserDelegate.browser" class="py-name" href="#" onclick="return doclink('link-5', 'browser', 'link-1');">browser</a></tt><tt class="py-op">.</tt><tt id="link-6" class="py-name"><a title="caldavclientlibrary.admin.xmlaccounts.commands.command caldavclientlibrary.browser.command" class="py-name" href="#" onclick="return doclink('link-6', 'command', 'link-2');">command</a></tt> <tt class="py-keyword">import</tt> <tt id="link-7" class="py-name" targets="Class caldavclientlibrary.browser.command.WrongOptions=caldavclientlibrary.browser.command.WrongOptions-class.html"><a title="caldavclientlibrary.browser.command.WrongOptions" class="py-name" href="#" onclick="return doclink('link-7', 'WrongOptions', 'link-7');">WrongOptions</a></tt> </tt> <a name="L19"></a><tt class="py-lineno">19</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt class="py-name">getpass</tt> <tt class="py-keyword">import</tt> <tt class="py-name">getpass</tt> </tt> <a name="L20"></a><tt class="py-lineno">20</tt> <tt class="py-line"> </tt> <a name="Cmd"></a><div id="Cmd-def"><a name="L21"></a><tt class="py-lineno">21</tt> <a class="py-toggle" href="#" id="Cmd-toggle" onclick="return toggle('Cmd');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="caldavclientlibrary.browser.commands.user.Cmd-class.html">Cmd</a><tt class="py-op">(</tt><tt class="py-base-class">Command</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> </div><div id="Cmd-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="Cmd-expanded"><a name="L22"></a><tt class="py-lineno">22</tt> <tt class="py-line"> </tt> <a name="Cmd.__init__"></a><div id="Cmd.__init__-def"><a name="L23"></a><tt class="py-lineno">23</tt> <a class="py-toggle" href="#" id="Cmd.__init__-toggle" onclick="return toggle('Cmd.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="caldavclientlibrary.browser.commands.user.Cmd-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> </div><div id="Cmd.__init__-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="Cmd.__init__-expanded"><a name="L24"></a><tt class="py-lineno">24</tt> <tt class="py-line"> <tt class="py-name">super</tt><tt class="py-op">(</tt><tt id="link-8" class="py-name"><a title="caldavclientlibrary.admin.xmlaccounts.commands.command.Command caldavclientlibrary.browser.command.Command" class="py-name" href="#" onclick="return doclink('link-8', 'Command', 'link-3');">Command</a></tt><tt class="py-op">,</tt> <tt id="link-9" class="py-name" targets="Variable caldavclientlibrary.protocol.webdav.definitions.davxml.self=caldavclientlibrary.protocol.webdav.definitions.davxml-module.html#self"><a title="caldavclientlibrary.protocol.webdav.definitions.davxml.self" class="py-name" href="#" onclick="return doclink('link-9', 'self', 'link-9');">self</a></tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt id="link-10" class="py-name" targets="Method caldavclientlibrary.admin.xmlaccounts.commands.addrecord.AddRecord.__init__()=caldavclientlibrary.admin.xmlaccounts.commands.addrecord.AddRecord-class.html#__init__,Method caldavclientlibrary.admin.xmlaccounts.commands.changepassword.ChangePassword.__init__()=caldavclientlibrary.admin.xmlaccounts.commands.changepassword.ChangePassword-class.html#__init__,Method caldavclientlibrary.admin.xmlaccounts.commands.command.Command.__init__()=caldavclientlibrary.admin.xmlaccounts.commands.command.Command-class.html#__init__,Method caldavclientlibrary.admin.xmlaccounts.commands.listrecords.ListRecords.__init__()=caldavclientlibrary.admin.xmlaccounts.commands.listrecords.ListRecords-class.html#__init__,Method caldavclientlibrary.admin.xmlaccounts.commands.removerecord.RemoveRecord.__init__()=caldavclientlibrary.admin.xmlaccounts.commands.removerecord.RemoveRecord-class.html#__init__,Method caldavclientlibrary.admin.xmlaccounts.directory.XMLDirectory.__init__()=caldavclientlibrary.admin.xmlaccounts.directory.XMLDirectory-class.html#__init__,Method caldavclientlibrary.admin.xmlaccounts.record.XMLRecord.__init__()=caldavclientlibrary.admin.xmlaccounts.record.XMLRecord-class.html#__init__,Method caldavclientlibrary.browser.baseshell.BaseShell.__init__()=caldavclientlibrary.browser.baseshell.BaseShell-class.html#__init__,Method caldavclientlibrary.browser.command.Command.__init__()=caldavclientlibrary.browser.command.Command-class.html#__init__,Method caldavclientlibrary.browser.commands.acl.Add.__init__()=caldavclientlibrary.browser.commands.acl.Add-class.html#__init__,Method caldavclientlibrary.browser.commands.acl.Change.__init__()=caldavclientlibrary.browser.commands.acl.Change-class.html#__init__,Method caldavclientlibrary.browser.commands.acl.Cmd.__init__()=caldavclientlibrary.browser.commands.acl.Cmd-class.html#__init__,Method caldavclientlibrary.browser.commands.acl.List.__init__()=caldavclientlibrary.browser.commands.acl.List-class.html#__init__,Method caldavclientlibrary.browser.commands.acl.Remove.__init__()=caldavclientlibrary.browser.commands.acl.Remove-class.html#__init__,Method caldavclientlibrary.browser.commands.cat.Cmd.__init__()=caldavclientlibrary.browser.commands.cat.Cmd-class.html#__init__,Method caldavclientlibrary.browser.commands.cd.Cmd.__init__()=caldavclientlibrary.browser.commands.cd.Cmd-class.html#__init__,Method caldavclientlibrary.browser.commands.help.Cmd.__init__()=caldavclientlibrary.browser.commands.help.Cmd-class.html#__init__,Method caldavclientlibrary.browser.commands.history.Cmd.__init__()=caldavclientlibrary.browser.commands.history.Cmd-class.html#__init__,Method caldavclientlibrary.browser.commands.import.Cmd.__init__()=caldavclientlibrary.browser.commands.import.Cmd-class.html#__init__,Method caldavclientlibrary.browser.commands.logging.Cmd.__init__()=caldavclientlibrary.browser.commands.logging.Cmd-class.html#__init__,Method caldavclientlibrary.browser.commands.ls.Cmd.__init__()=caldavclientlibrary.browser.commands.ls.Cmd-class.html#__init__,Method caldavclientlibrary.browser.commands.mkadbk.Cmd.__init__()=caldavclientlibrary.browser.commands.mkadbk.Cmd-class.html#__init__,Method caldavclientlibrary.browser.commands.mkcal.Cmd.__init__()=caldavclientlibrary.browser.commands.mkcal.Cmd-class.html#__init__,Method caldavclientlibrary.browser.commands.mkdir.Cmd.__init__()=caldavclientlibrary.browser.commands.mkdir.Cmd-class.html#__init__,Method caldavclientlibrary.browser.commands.mv.Cmd.__init__()=caldavclientlibrary.browser.commands.mv.Cmd-class.html#__init__,Method caldavclientlibrary.browser.commands.principal.Cmd.__init__()=caldavclientlibrary.browser.commands.principal.Cmd-class.html#__init__,Method caldavclientlibrary.browser.commands.props.Cmd.__init__()=caldavclientlibrary.browser.commands.props.Cmd-class.html#__init__,Method caldavclientlibrary.browser.commands.proxies.Add.__init__()=caldavclientlibrary.browser.commands.proxies.Add-class.html#__init__,Method caldavclientlibrary.browser.commands.proxies.Cmd.__init__()=caldavclientlibrary.browser.commands.proxies.Cmd-class.html#__init__,Method caldavclientlibrary.browser.commands.proxies.List.__init__()=caldavclientlibrary.browser.commands.proxies.List-class.html#__init__,Method caldavclientlibrary.browser.commands.proxies.Remove.__init__()=caldavclientlibrary.browser.commands.proxies.Remove-class.html#__init__,Method caldavclientlibrary.browser.commands.put.Cmd.__init__()=caldavclientlibrary.browser.commands.put.Cmd-class.html#__init__,Method caldavclientlibrary.browser.commands.quit.Cmd.__init__()=caldavclientlibrary.browser.commands.quit.Cmd-class.html#__init__,Method caldavclientlibrary.browser.commands.quota.Cmd.__init__()=caldavclientlibrary.browser.commands.quota.Cmd-class.html#__init__,Method caldavclientlibrary.browser.commands.rm.Cmd.__init__()=caldavclientlibrary.browser.commands.rm.Cmd-class.html#__init__,Method caldavclientlibrary.browser.commands.server.Cmd.__init__()=caldavclientlibrary.browser.commands.server.Cmd-class.html#__init__,Method caldavclientlibrary.browser.commands.user.Cmd.__init__()=caldavclientlibrary.browser.commands.user.Cmd-class.html#__init__,Method caldavclientlibrary.browser.commands.whoami.Cmd.__init__()=caldavclientlibrary.browser.commands.whoami.Cmd-class.html#__init__,Method caldavclientlibrary.browser.shell.Shell.__init__()=caldavclientlibrary.browser.shell.Shell-class.html#__init__,Method caldavclientlibrary.browser.subshell.SubShell.__init__()=caldavclientlibrary.browser.subshell.SubShell-class.html#__init__,Method caldavclientlibrary.client.account.CalDAVAccount.__init__()=caldavclientlibrary.client.account.CalDAVAccount-class.html#__init__,Method caldavclientlibrary.client.calendar.Calendar.__init__()=caldavclientlibrary.client.calendar.Calendar-class.html#__init__,Method caldavclientlibrary.client.calendaruseraddress.CalendarUserAddress.__init__()=caldavclientlibrary.client.calendaruseraddress.CalendarUserAddress-class.html#__init__,Method caldavclientlibrary.client.clientsession.CalDAVSession.__init__()=caldavclientlibrary.client.clientsession.CalDAVSession-class.html#__init__,Method caldavclientlibrary.client.principal.CalDAVPrincipal.__init__()=caldavclientlibrary.client.principal.CalDAVPrincipal-class.html#__init__,Method caldavclientlibrary.client.principal.PrincipalCache.__init__()=caldavclientlibrary.client.principal.PrincipalCache-class.html#__init__,Method caldavclientlibrary.protocol.caldav.makecalendar.MakeCalendar.__init__()=caldavclientlibrary.protocol.caldav.makecalendar.MakeCalendar-class.html#__init__,Method caldavclientlibrary.protocol.caldav.multiget.Multiget.__init__()=caldavclientlibrary.protocol.caldav.multiget.Multiget-class.html#__init__,Method caldavclientlibrary.protocol.carddav.makeaddressbook.MakeAddressBook.__init__()=caldavclientlibrary.protocol.carddav.makeaddressbook.MakeAddressBook-class.html#__init__,Method caldavclientlibrary.protocol.http.authentication.basic.Basic.__init__()=caldavclientlibrary.protocol.http.authentication.basic.Basic-class.html#__init__,Method caldavclientlibrary.protocol.http.authentication.digest.Digest.__init__()=caldavclientlibrary.protocol.http.authentication.digest.Digest-class.html#__init__,Method caldavclientlibrary.protocol.http.authentication.gssapi.Kerberos.__init__()=caldavclientlibrary.protocol.http.authentication.gssapi.Kerberos-class.html#__init__,Method caldavclientlibrary.protocol.http.data.data.Data.__init__()=caldavclientlibrary.protocol.http.data.data.Data-class.html#__init__,Method caldavclientlibrary.protocol.http.data.file.RequestDataFile.__init__()=caldavclientlibrary.protocol.http.data.file.RequestDataFile-class.html#__init__,Method caldavclientlibrary.protocol.http.data.file.ResponseDataFile.__init__()=caldavclientlibrary.protocol.http.data.file.ResponseDataFile-class.html#__init__,Method caldavclientlibrary.protocol.http.data.string.RequestDataString.__init__()=caldavclientlibrary.protocol.http.data.string.RequestDataString-class.html#__init__,Method caldavclientlibrary.protocol.http.data.string.ResponseDataString.__init__()=caldavclientlibrary.protocol.http.data.string.ResponseDataString-class.html#__init__,Method caldavclientlibrary.protocol.http.requestresponse.RequestResponse.__init__()=caldavclientlibrary.protocol.http.requestresponse.RequestResponse-class.html#__init__,Method caldavclientlibrary.protocol.http.session.Session.__init__()=caldavclientlibrary.protocol.http.session.Session-class.html#__init__,Method caldavclientlibrary.protocol.url.URL.__init__()=caldavclientlibrary.protocol.url.URL-class.html#__init__,Method caldavclientlibrary.protocol.webdav.ace.ACE.__init__()=caldavclientlibrary.protocol.webdav.ace.ACE-class.html#__init__,Method caldavclientlibrary.protocol.webdav.acl.ACL.__init__()=caldavclientlibrary.protocol.webdav.acl.ACL-class.html#__init__,Method caldavclientlibrary.protocol.webdav.copy.Copy.__init__()=caldavclientlibrary.protocol.webdav.copy.Copy-class.html#__init__,Method caldavclientlibrary.protocol.webdav.copymovebase.CopyMoveBase.__init__()=caldavclientlibrary.protocol.webdav.copymovebase.CopyMoveBase-class.html#__init__,Method caldavclientlibrary.protocol.webdav.delete.Delete.__init__()=caldavclientlibrary.protocol.webdav.delete.Delete-class.html#__init__,Method caldavclientlibrary.protocol.webdav.get.Get.__init__()=caldavclientlibrary.protocol.webdav.get.Get-class.html#__init__,Method caldavclientlibrary.protocol.webdav.getbase.GetBase.__init__()=caldavclientlibrary.protocol.webdav.getbase.GetBase-class.html#__init__,Method caldavclientlibrary.protocol.webdav.head.Head.__init__()=caldavclientlibrary.protocol.webdav.head.Head-class.html#__init__,Method caldavclientlibrary.protocol.webdav.lock.Lock.__init__()=caldavclientlibrary.protocol.webdav.lock.Lock-class.html#__init__,Method caldavclientlibrary.protocol.webdav.makecollection.MakeCollection.__init__()=caldavclientlibrary.protocol.webdav.makecollection.MakeCollection-class.html#__init__,Method caldavclientlibrary.protocol.webdav.move.Move.__init__()=caldavclientlibrary.protocol.webdav.move.Move-class.html#__init__,Method caldavclientlibrary.protocol.webdav.options.Options.__init__()=caldavclientlibrary.protocol.webdav.options.Options-class.html#__init__,Method caldavclientlibrary.protocol.webdav.post.Post.__init__()=caldavclientlibrary.protocol.webdav.post.Post-class.html#__init__,Method caldavclientlibrary.protocol.webdav.principalmatch.PrincipalMatch.__init__()=caldavclientlibrary.protocol.webdav.principalmatch.PrincipalMatch-class.html#__init__,Method caldavclientlibrary.protocol.webdav.propall.PropAll.__init__()=caldavclientlibrary.protocol.webdav.propall.PropAll-class.html#__init__,Method caldavclientlibrary.protocol.webdav.propfind.PropFind.__init__()=caldavclientlibrary.protocol.webdav.propfind.PropFind-class.html#__init__,Method caldavclientlibrary.protocol.webdav.propfindbase.PropFindBase.__init__()=caldavclientlibrary.protocol.webdav.propfindbase.PropFindBase-class.html#__init__,Method caldavclientlibrary.protocol.webdav.propfindparser.PropFindParser.PropFindResult.__init__()=caldavclientlibrary.protocol.webdav.propfindparser.PropFindParser.PropFindResult-class.html#__init__,Method caldavclientlibrary.protocol.webdav.propfindparser.PropFindParser.__init__()=caldavclientlibrary.protocol.webdav.propfindparser.PropFindParser-class.html#__init__,Method caldavclientlibrary.protocol.webdav.propnames.PropNames.__init__()=caldavclientlibrary.protocol.webdav.propnames.PropNames-class.html#__init__,Method caldavclientlibrary.protocol.webdav.proppatch.PropPatch.__init__()=caldavclientlibrary.protocol.webdav.proppatch.PropPatch-class.html#__init__,Method caldavclientlibrary.protocol.webdav.put.Put.__init__()=caldavclientlibrary.protocol.webdav.put.Put-class.html#__init__,Method caldavclientlibrary.protocol.webdav.report.Report.__init__()=caldavclientlibrary.protocol.webdav.report.Report-class.html#__init__,Method caldavclientlibrary.protocol.webdav.requestresponse.RequestResponse.__init__()=caldavclientlibrary.protocol.webdav.requestresponse.RequestResponse-class.html#__init__,Method caldavclientlibrary.protocol.webdav.session.Session.__init__()=caldavclientlibrary.protocol.webdav.session.Session-class.html#__init__,Method caldavclientlibrary.protocol.webdav.unlock.Unlock.__init__()=caldavclientlibrary.protocol.webdav.unlock.Unlock-class.html#__init__,Method caldavclientlibrary.ui.resource.Resource.__init__()=caldavclientlibrary.ui.resource.Resource-class.html#__init__,Method caldavclientlibrary.ui.session.Session.__init__()=caldavclientlibrary.ui.session.Session-class.html#__init__"><a title="caldavclientlibrary.admin.xmlaccounts.commands.addrecord.AddRecord.__init__ caldavclientlibrary.admin.xmlaccounts.commands.changepassword.ChangePassword.__init__ caldavclientlibrary.admin.xmlaccounts.commands.command.Command.__init__ caldavclientlibrary.admin.xmlaccounts.commands.listrecords.ListRecords.__init__ caldavclientlibrary.admin.xmlaccounts.commands.removerecord.RemoveRecord.__init__ caldavclientlibrary.admin.xmlaccounts.directory.XMLDirectory.__init__ caldavclientlibrary.admin.xmlaccounts.record.XMLRecord.__init__ caldavclientlibrary.browser.baseshell.BaseShell.__init__ caldavclientlibrary.browser.command.Command.__init__ caldavclientlibrary.browser.commands.acl.Add.__init__ caldavclientlibrary.browser.commands.acl.Change.__init__ caldavclientlibrary.browser.commands.acl.Cmd.__init__ caldavclientlibrary.browser.commands.acl.List.__init__ caldavclientlibrary.browser.commands.acl.Remove.__init__ caldavclientlibrary.browser.commands.cat.Cmd.__init__ caldavclientlibrary.browser.commands.cd.Cmd.__init__ caldavclientlibrary.browser.commands.help.Cmd.__init__ caldavclientlibrary.browser.commands.history.Cmd.__init__ caldavclientlibrary.browser.commands.import.Cmd.__init__ caldavclientlibrary.browser.commands.logging.Cmd.__init__ caldavclientlibrary.browser.commands.ls.Cmd.__init__ caldavclientlibrary.browser.commands.mkadbk.Cmd.__init__ caldavclientlibrary.browser.commands.mkcal.Cmd.__init__ caldavclientlibrary.browser.commands.mkdir.Cmd.__init__ caldavclientlibrary.browser.commands.mv.Cmd.__init__ caldavclientlibrary.browser.commands.principal.Cmd.__init__ caldavclientlibrary.browser.commands.props.Cmd.__init__ caldavclientlibrary.browser.commands.proxies.Add.__init__ caldavclientlibrary.browser.commands.proxies.Cmd.__init__ caldavclientlibrary.browser.commands.proxies.List.__init__ caldavclientlibrary.browser.commands.proxies.Remove.__init__ caldavclientlibrary.browser.commands.put.Cmd.__init__ caldavclientlibrary.browser.commands.quit.Cmd.__init__ caldavclientlibrary.browser.commands.quota.Cmd.__init__ caldavclientlibrary.browser.commands.rm.Cmd.__init__ caldavclientlibrary.browser.commands.server.Cmd.__init__ caldavclientlibrary.browser.commands.user.Cmd.__init__ caldavclientlibrary.browser.commands.whoami.Cmd.__init__ caldavclientlibrary.browser.shell.Shell.__init__ caldavclientlibrary.browser.subshell.SubShell.__init__ caldavclientlibrary.client.account.CalDAVAccount.__init__ caldavclientlibrary.client.calendar.Calendar.__init__ caldavclientlibrary.client.calendaruseraddress.CalendarUserAddress.__init__ caldavclientlibrary.client.clientsession.CalDAVSession.__init__ caldavclientlibrary.client.principal.CalDAVPrincipal.__init__ caldavclientlibrary.client.principal.PrincipalCache.__init__ caldavclientlibrary.protocol.caldav.makecalendar.MakeCalendar.__init__ caldavclientlibrary.protocol.caldav.multiget.Multiget.__init__ caldavclientlibrary.protocol.carddav.makeaddressbook.MakeAddressBook.__init__ caldavclientlibrary.protocol.http.authentication.basic.Basic.__init__ caldavclientlibrary.protocol.http.authentication.digest.Digest.__init__ caldavclientlibrary.protocol.http.authentication.gssapi.Kerberos.__init__ caldavclientlibrary.protocol.http.data.data.Data.__init__ caldavclientlibrary.protocol.http.data.file.RequestDataFile.__init__ caldavclientlibrary.protocol.http.data.file.ResponseDataFile.__init__ caldavclientlibrary.protocol.http.data.string.RequestDataString.__init__ caldavclientlibrary.protocol.http.data.string.ResponseDataString.__init__ caldavclientlibrary.protocol.http.requestresponse.RequestResponse.__init__ caldavclientlibrary.protocol.http.session.Session.__init__ caldavclientlibrary.protocol.url.URL.__init__ caldavclientlibrary.protocol.webdav.ace.ACE.__init__ caldavclientlibrary.protocol.webdav.acl.ACL.__init__ caldavclientlibrary.protocol.webdav.copy.Copy.__init__ caldavclientlibrary.protocol.webdav.copymovebase.CopyMoveBase.__init__ caldavclientlibrary.protocol.webdav.delete.Delete.__init__ caldavclientlibrary.protocol.webdav.get.Get.__init__ caldavclientlibrary.protocol.webdav.getbase.GetBase.__init__ caldavclientlibrary.protocol.webdav.head.Head.__init__ caldavclientlibrary.protocol.webdav.lock.Lock.__init__ caldavclientlibrary.protocol.webdav.makecollection.MakeCollection.__init__ caldavclientlibrary.protocol.webdav.move.Move.__init__ caldavclientlibrary.protocol.webdav.options.Options.__init__ caldavclientlibrary.protocol.webdav.post.Post.__init__ caldavclientlibrary.protocol.webdav.principalmatch.PrincipalMatch.__init__ caldavclientlibrary.protocol.webdav.propall.PropAll.__init__ caldavclientlibrary.protocol.webdav.propfind.PropFind.__init__ caldavclientlibrary.protocol.webdav.propfindbase.PropFindBase.__init__ caldavclientlibrary.protocol.webdav.propfindparser.PropFindParser.PropFindResult.__init__ caldavclientlibrary.protocol.webdav.propfindparser.PropFindParser.__init__ caldavclientlibrary.protocol.webdav.propnames.PropNames.__init__ caldavclientlibrary.protocol.webdav.proppatch.PropPatch.__init__ caldavclientlibrary.protocol.webdav.put.Put.__init__ caldavclientlibrary.protocol.webdav.report.Report.__init__ caldavclientlibrary.protocol.webdav.requestresponse.RequestResponse.__init__ caldavclientlibrary.protocol.webdav.session.Session.__init__ caldavclientlibrary.protocol.webdav.unlock.Unlock.__init__ caldavclientlibrary.ui.resource.Resource.__init__ caldavclientlibrary.ui.session.Session.__init__" class="py-name" href="#" onclick="return doclink('link-10', '__init__', 'link-10');">__init__</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> <a name="L25"></a><tt class="py-lineno">25</tt> <tt class="py-line"> <tt id="link-11" class="py-name"><a title="caldavclientlibrary.protocol.webdav.definitions.davxml.self" class="py-name" href="#" onclick="return doclink('link-11', 'self', 'link-9');">self</a></tt><tt class="py-op">.</tt><tt class="py-name">cmds</tt> <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-string">"user"</tt><tt class="py-op">,</tt> <tt class="py-op">)</tt> </tt> </div><a name="L26"></a><tt class="py-lineno">26</tt> <tt class="py-line"> </tt> <a name="Cmd.execute"></a><div id="Cmd.execute-def"><a name="L27"></a><tt class="py-lineno">27</tt> <a class="py-toggle" href="#" id="Cmd.execute-toggle" onclick="return toggle('Cmd.execute');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="caldavclientlibrary.browser.commands.user.Cmd-class.html#execute">execute</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">name</tt><tt class="py-op">,</tt> <tt class="py-param">options</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> </div><div id="Cmd.execute-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="Cmd.execute-expanded"><a name="L28"></a><tt class="py-lineno">28</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt id="link-12" class="py-name" targets="Module caldavclientlibrary.protocol.webdav.options=caldavclientlibrary.protocol.webdav.options-module.html"><a title="caldavclientlibrary.protocol.webdav.options" class="py-name" href="#" onclick="return doclink('link-12', 'options', 'link-12');">options</a></tt><tt class="py-op">:</tt> </tt> <a name="L29"></a><tt class="py-lineno">29</tt> <tt class="py-line"> <tt class="py-keyword">print</tt> <tt id="link-13" class="py-name"><a title="caldavclientlibrary.protocol.webdav.definitions.davxml.self" class="py-name" href="#" onclick="return doclink('link-13', 'self', 'link-9');">self</a></tt><tt class="py-op">.</tt><tt id="link-14" class="py-name" targets="Method caldavclientlibrary.admin.xmlaccounts.commands.changepassword.ChangePassword.usage()=caldavclientlibrary.admin.xmlaccounts.commands.changepassword.ChangePassword-class.html#usage,Method caldavclientlibrary.admin.xmlaccounts.commands.command.Command.usage()=caldavclientlibrary.admin.xmlaccounts.commands.command.Command-class.html#usage,Method caldavclientlibrary.admin.xmlaccounts.commands.removerecord.RemoveRecord.usage()=caldavclientlibrary.admin.xmlaccounts.commands.removerecord.RemoveRecord-class.html#usage,Function caldavclientlibrary.admin.xmlaccounts.manage.usage()=caldavclientlibrary.admin.xmlaccounts.manage-module.html#usage,Method caldavclientlibrary.browser.command.Command.usage()=caldavclientlibrary.browser.command.Command-class.html#usage,Method caldavclientlibrary.browser.commands.acl.Add.usage()=caldavclientlibrary.browser.commands.acl.Add-class.html#usage,Method caldavclientlibrary.browser.commands.acl.Change.usage()=caldavclientlibrary.browser.commands.acl.Change-class.html#usage,Method caldavclientlibrary.browser.commands.acl.Cmd.usage()=caldavclientlibrary.browser.commands.acl.Cmd-class.html#usage,Method caldavclientlibrary.browser.commands.acl.List.usage()=caldavclientlibrary.browser.commands.acl.List-class.html#usage,Method caldavclientlibrary.browser.commands.acl.Remove.usage()=caldavclientlibrary.browser.commands.acl.Remove-class.html#usage,Method caldavclientlibrary.browser.commands.cat.Cmd.usage()=caldavclientlibrary.browser.commands.cat.Cmd-class.html#usage,Method caldavclientlibrary.browser.commands.cd.Cmd.usage()=caldavclientlibrary.browser.commands.cd.Cmd-class.html#usage,Method caldavclientlibrary.browser.commands.help.Cmd.usage()=caldavclientlibrary.browser.commands.help.Cmd-class.html#usage,Method caldavclientlibrary.browser.commands.history.Cmd.usage()=caldavclientlibrary.browser.commands.history.Cmd-class.html#usage,Method caldavclientlibrary.browser.commands.import.Cmd.usage()=caldavclientlibrary.browser.commands.import.Cmd-class.html#usage,Method caldavclientlibrary.browser.commands.logging.Cmd.usage()=caldavclientlibrary.browser.commands.logging.Cmd-class.html#usage,Method caldavclientlibrary.browser.commands.ls.Cmd.usage()=caldavclientlibrary.browser.commands.ls.Cmd-class.html#usage,Method caldavclientlibrary.browser.commands.mkadbk.Cmd.usage()=caldavclientlibrary.browser.commands.mkadbk.Cmd-class.html#usage,Method caldavclientlibrary.browser.commands.mkcal.Cmd.usage()=caldavclientlibrary.browser.commands.mkcal.Cmd-class.html#usage,Method caldavclientlibrary.browser.commands.mkdir.Cmd.usage()=caldavclientlibrary.browser.commands.mkdir.Cmd-class.html#usage,Method caldavclientlibrary.browser.commands.mv.Cmd.usage()=caldavclientlibrary.browser.commands.mv.Cmd-class.html#usage,Method caldavclientlibrary.browser.commands.principal.Cmd.usage()=caldavclientlibrary.browser.commands.principal.Cmd-class.html#usage,Method caldavclientlibrary.browser.commands.props.Cmd.usage()=caldavclientlibrary.browser.commands.props.Cmd-class.html#usage,Method caldavclientlibrary.browser.commands.proxies.Add.usage()=caldavclientlibrary.browser.commands.proxies.Add-class.html#usage,Method caldavclientlibrary.browser.commands.proxies.Cmd.usage()=caldavclientlibrary.browser.commands.proxies.Cmd-class.html#usage,Method caldavclientlibrary.browser.commands.proxies.List.usage()=caldavclientlibrary.browser.commands.proxies.List-class.html#usage,Method caldavclientlibrary.browser.commands.proxies.Remove.usage()=caldavclientlibrary.browser.commands.proxies.Remove-class.html#usage,Method caldavclientlibrary.browser.commands.put.Cmd.usage()=caldavclientlibrary.browser.commands.put.Cmd-class.html#usage,Method caldavclientlibrary.browser.commands.quit.Cmd.usage()=caldavclientlibrary.browser.commands.quit.Cmd-class.html#usage,Method caldavclientlibrary.browser.commands.quota.Cmd.usage()=caldavclientlibrary.browser.commands.quota.Cmd-class.html#usage,Method caldavclientlibrary.browser.commands.rm.Cmd.usage()=caldavclientlibrary.browser.commands.rm.Cmd-class.html#usage,Method caldavclientlibrary.browser.commands.server.Cmd.usage()=caldavclientlibrary.browser.commands.server.Cmd-class.html#usage,Method caldavclientlibrary.browser.commands.user.Cmd.usage()=caldavclientlibrary.browser.commands.user.Cmd-class.html#usage,Method caldavclientlibrary.browser.commands.whoami.Cmd.usage()=caldavclientlibrary.browser.commands.whoami.Cmd-class.html#usage,Function caldavclientlibrary.browser.shell.usage()=caldavclientlibrary.browser.shell-module.html#usage"><a title="caldavclientlibrary.admin.xmlaccounts.commands.changepassword.ChangePassword.usage caldavclientlibrary.admin.xmlaccounts.commands.command.Command.usage caldavclientlibrary.admin.xmlaccounts.commands.removerecord.RemoveRecord.usage caldavclientlibrary.admin.xmlaccounts.manage.usage caldavclientlibrary.browser.command.Command.usage caldavclientlibrary.browser.commands.acl.Add.usage caldavclientlibrary.browser.commands.acl.Change.usage caldavclientlibrary.browser.commands.acl.Cmd.usage caldavclientlibrary.browser.commands.acl.List.usage caldavclientlibrary.browser.commands.acl.Remove.usage caldavclientlibrary.browser.commands.cat.Cmd.usage caldavclientlibrary.browser.commands.cd.Cmd.usage caldavclientlibrary.browser.commands.help.Cmd.usage caldavclientlibrary.browser.commands.history.Cmd.usage caldavclientlibrary.browser.commands.import.Cmd.usage caldavclientlibrary.browser.commands.logging.Cmd.usage caldavclientlibrary.browser.commands.ls.Cmd.usage caldavclientlibrary.browser.commands.mkadbk.Cmd.usage caldavclientlibrary.browser.commands.mkcal.Cmd.usage caldavclientlibrary.browser.commands.mkdir.Cmd.usage caldavclientlibrary.browser.commands.mv.Cmd.usage caldavclientlibrary.browser.commands.principal.Cmd.usage caldavclientlibrary.browser.commands.props.Cmd.usage caldavclientlibrary.browser.commands.proxies.Add.usage caldavclientlibrary.browser.commands.proxies.Cmd.usage caldavclientlibrary.browser.commands.proxies.List.usage caldavclientlibrary.browser.commands.proxies.Remove.usage caldavclientlibrary.browser.commands.put.Cmd.usage caldavclientlibrary.browser.commands.quit.Cmd.usage caldavclientlibrary.browser.commands.quota.Cmd.usage caldavclientlibrary.browser.commands.rm.Cmd.usage caldavclientlibrary.browser.commands.server.Cmd.usage caldavclientlibrary.browser.commands.user.Cmd.usage caldavclientlibrary.browser.commands.whoami.Cmd.usage caldavclientlibrary.browser.shell.usage" class="py-name" href="#" onclick="return doclink('link-14', 'usage', 'link-14');">usage</a></tt><tt class="py-op">(</tt><tt class="py-name">name</tt><tt class="py-op">)</tt> </tt> <a name="L30"></a><tt class="py-lineno">30</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt id="link-15" class="py-name"><a title="caldavclientlibrary.browser.command.WrongOptions" class="py-name" href="#" onclick="return doclink('link-15', 'WrongOptions', 'link-7');">WrongOptions</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> <a name="L31"></a><tt class="py-lineno">31</tt> <tt class="py-line"> <tt id="link-16" class="py-name" targets="Module caldavclientlibrary.browser.commands.user=caldavclientlibrary.browser.commands.user-module.html"><a title="caldavclientlibrary.browser.commands.user" class="py-name" href="#" onclick="return doclink('link-16', 'user', 'link-16');">user</a></tt> <tt class="py-op">=</tt> <tt class="py-name">raw_input</tt><tt class="py-op">(</tt><tt class="py-string">"New User: "</tt><tt class="py-op">)</tt> </tt> <a name="L32"></a><tt class="py-lineno">32</tt> <tt class="py-line"> <tt class="py-name">pswd</tt> <tt class="py-op">=</tt> <tt class="py-name">getpass</tt><tt class="py-op">(</tt><tt class="py-string">"New Password: "</tt><tt class="py-op">)</tt> </tt> <a name="L33"></a><tt class="py-lineno">33</tt> <tt class="py-line"> <tt id="link-17" class="py-name"><a title="caldavclientlibrary.protocol.webdav.definitions.davxml.self" class="py-name" href="#" onclick="return doclink('link-17', 'self', 'link-9');">self</a></tt><tt class="py-op">.</tt><tt id="link-18" class="py-name" targets="Module caldavclientlibrary.browser.shell=caldavclientlibrary.browser.shell-module.html"><a title="caldavclientlibrary.browser.shell" class="py-name" href="#" onclick="return doclink('link-18', 'shell', 'link-18');">shell</a></tt><tt class="py-op">.</tt><tt id="link-19" class="py-name" targets="Method caldavclientlibrary.browser.shell.Shell.setUserPswd()=caldavclientlibrary.browser.shell.Shell-class.html#setUserPswd,Method caldavclientlibrary.client.account.CalDAVAccount.setUserPswd()=caldavclientlibrary.client.account.CalDAVAccount-class.html#setUserPswd,Method caldavclientlibrary.client.clientsession.CalDAVSession.setUserPswd()=caldavclientlibrary.client.clientsession.CalDAVSession-class.html#setUserPswd"><a title="caldavclientlibrary.browser.shell.Shell.setUserPswd caldavclientlibrary.client.account.CalDAVAccount.setUserPswd caldavclientlibrary.client.clientsession.CalDAVSession.setUserPswd" class="py-name" href="#" onclick="return doclink('link-19', 'setUserPswd', 'link-19');">setUserPswd</a></tt><tt class="py-op">(</tt><tt id="link-20" class="py-name"><a title="caldavclientlibrary.browser.commands.user" class="py-name" href="#" onclick="return doclink('link-20', 'user', 'link-16');">user</a></tt><tt class="py-op">,</tt> <tt class="py-name">pswd</tt><tt class="py-op">)</tt> </tt> <a name="L34"></a><tt class="py-lineno">34</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">True</tt> </tt> </div><a name="L35"></a><tt class="py-lineno">35</tt> <tt class="py-line"> </tt> <a name="Cmd.usage"></a><div id="Cmd.usage-def"><a name="L36"></a><tt class="py-lineno">36</tt> <a class="py-toggle" href="#" id="Cmd.usage-toggle" onclick="return toggle('Cmd.usage');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="caldavclientlibrary.browser.commands.user.Cmd-class.html#usage">usage</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">name</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> </div><div id="Cmd.usage-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="Cmd.usage-expanded"><a name="L37"></a><tt class="py-lineno">37</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-string">"""Usage: %s</tt> </tt> <a name="L38"></a><tt class="py-lineno">38</tt> <tt class="py-line"><tt class="py-string">"""</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">name</tt><tt class="py-op">,</tt><tt class="py-op">)</tt> </tt> </div><a name="L39"></a><tt class="py-lineno">39</tt> <tt class="py-line"> </tt> <a name="Cmd.helpDescription"></a><div id="Cmd.helpDescription-def"><a name="L40"></a><tt class="py-lineno">40</tt> <a class="py-toggle" href="#" id="Cmd.helpDescription-toggle" onclick="return toggle('Cmd.helpDescription');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="caldavclientlibrary.browser.commands.user.Cmd-class.html#helpDescription">helpDescription</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> </div><div id="Cmd.helpDescription-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="Cmd.helpDescription-expanded"><a name="L41"></a><tt class="py-lineno">41</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-string">"Allows changing the current server login id and password."</tt> </tt> </div></div><a name="L42"></a><tt class="py-lineno">42</tt> <tt class="py-line"> </tt><script type="text/javascript"> <!-- expandto(location.href); // --> </script> </pre> <br /> <!-- ==================== NAVIGATION BAR ==================== --> <table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0"> <tr valign="middle"> <!-- Home link --> <th> <a href="caldavclientlibrary-module.html">Home</a> </th> <!-- Tree link --> <th> <a href="module-tree.html">Trees</a> </th> <!-- Index link --> <th> <a href="identifier-index.html">Indices</a> </th> <!-- Help link --> <th> <a href="help.html">Help</a> </th> <th class="navbar" width="100%"></th> </tr> </table> <table border="0" cellpadding="0" cellspacing="0" width="100%%"> <tr> <td align="left" class="footer"> Generated by Epydoc 3.0.1 on Thu Jul 7 15:01:48 2011 </td> <td align="right" class="footer"> <a target="mainFrame" href="http://epydoc.sourceforge.net" >http://epydoc.sourceforge.net</a> </td> </tr> </table> <script type="text/javascript"> <!-- // Private objects are initially displayed (because if // javascript is turned off then we want them to be // visible); but by default, we want to hide them. So hide // them unless we have a cookie that says to show them. checkCookie(); // --> </script> </body> </html>