|
|
Get the computer name of user
Added on 4/6/2003
|
Compatibilities:
Required Xtras:
Buddy API
|
This item has not yet been rated
|
Use this behaviour to get the username of your viewer and let it be placed into a field.
property pTextComp, UserField
on beginsprite me
set name = pTextComp&&baUserName( )
put name into member UserField
end beginsprite me
on getPropertyDescriptionList me
p_list = [:]
addProp p_list, #pTextComp, [#format:#string,#default:"Computer name is:",#comment:"The line that is placed before the computer name"]
addProp p_list, #UserField, [#format:#member,#default:0,#comment:"Select the member field to put the username into"]
return p_list
end
|
|