Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-stable
Commits
79ff1acf
Commit
79ff1acf
authored
Sep 23, 2009
by
Leigh B. Stoller
Browse files
Add a coupld of minor access methods into the User structure.
parent
30baa268
Changes
1
Hide whitespace changes
Inline
Side-by-side
protogeni/lib/GeniUser.pm.in
View file @
79ff1acf
...
...
@@ -686,6 +686,8 @@ sub created($) { return $_[0]->{'USER'}->created(); }
sub
name
($)
{
return
$
_
[
0
]->{
'USER'
}->
name
();
}
sub
email
($)
{
return
$
_
[
0
]->{
'USER'
}->
email
();
}
sub
GetSSHKeys
($$)
{
return
$
_
[
0
]->{
'USER'
}->
GetSSHKeys
($
_
[
1
]);
}
sub
SSLPassPhrase
($$$)
{
return
$
_
[
0
]->{
'USER'
}->
SSLPassPhrase
($
_
[
1
],$
_
[
2
]);
}
sub
HomeDir
($)
{
return
$
_
[
0
]->{
'USER'
}->
HomeDir
();
}
#
Need
to
construct
this
since
not
in
User
structure
.
sub
hrn
($)
{
return
"${PGENIDOMAIN}."
.
$
_
[
0
]->
uid
();
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment