DBIx-Web

 view release on metacpan or  search on metacpan

lib/DBIx/Web.pod  view on Meta::CPAN

Returns reference to array with variants of current user name.
Uses C<-unames> sub{} or value.
Default is [C<user>] with C<userln> and 'domain\\user' form added if applicable and not met.


=item urlAuth () -> login URL

C<User Interface>.
URL to self script authenticated.


=item urlCat (url, name=>value,...) -> escaped URL

=item urlCmd (url, name=>value,...) -> escaped URL

=item urlEscape (strings) -> escaped

=item urlUnescape (string) -> unecaped

C<Misc Data methods>.
Escapes and unescapes to and from URL format.
C<urlCat> only escapes and catenates arguments, 
whereas C<urlCmd>
replaces leading '-' with '_' in names and stringfies data structures with C<strdata>.
See also C<htmlEscape>.


=item urlOpt (option => value,...) -> invokation URL

C<User Interface>.
Self URL using C<-pcmd> values with options given added / replaced.


=item user () -> current user name

C<User Identification>.
Returns name of the current user.
Uses C<-user> sub{} or value.
Considers C<-userln> and C<-usernt>.


=item userln () -> current user local name

C<User Identification>.
Returns local name of the current user, or C<user>.
User name domain component (after '@') is discarded
if it equals to host name domain component (Windows or DNS).


=item varFile () -> variables store filename

C<Persistent Variables>.
Returns file name to store values of variables.


=item varLoad (?lock) -> self object

C<Persistent Variables>.
Loads variables into C<-var>.
Default lock level is LOCK_SH.
File will be locked until C<end> call.


=item varLock (?lock) -> success

C<Persistent Variables>.
Locks variables file.
Default is LOCK_EX.
File will be locked until C<end> call.


=item varStore () -> self

C<Persistent Variables>.
Stores C<-var> into variables file.
LOCK_EX is used.
File will be locked until C<end> call.


=item w32adhi () -> Active Directory Host Info object

C<User Identification>.
Returns 'ADSystemInfo' OLE object.



=item w32IISdpsn () -> success

C<User Identification>.
Deimpersonation of authenticated user session on Microsoft IIS.
See C<-w32IISdpsn>.
See source for details and warnings.


=item w32ufswtr () -> system user?

C<User Identification>.
Returns true if current user is an C<-fswtr> or 'system'.
This may be due to C<w32IISdpsn> or L<PerlEx|PerlEx> 'DisableImpersonate'.


=item w32user (name) -> Win32 AD user Win32::OLE object

C<User Identification>.
Returns L<Win32::OLE|Win32/OLE> AD object for user name given.


=item w32umail (name(s) string) -> email(s)

C<User Identification>.
Deprecated, see C<umail>.


=item warn (message string) -> warning raise

C<Error Processing>.
Raises warning like L<CORE::warn|perlfunc> or L<carp|Carp>.
Executes &{$_[0]->{-warn}}(@_[1..$#_]).
See also C<-die>, C<-warn>, C<die>.


=item xmlEscape (strings) -> escaped

=item xmlAttrEscape (strings) -> escaped as C<xmlEscape>

=item xmlTagEscape (strings) -> escaped

=item xmlUnescape (string) -> unecaped

C<Misc Data methods>.
Escapes and unescapes to and from XML text.
See also C<htmlEscape>.


=item xmlsTag (name, attribute=>value,..., ''=>[content]) -> list

=item xmlsTag (name, attribute=>value,..., '0') -> <name atrr="val"...>



( run in 3.654 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )