www.homeseer.com    
 

Go Back   HomeSeer Message Board > 3rd Party Plug-Ins/Scripts > Plug-ins by Author > Click Here for List of Author Forums > Blade Plug-Ins > BLSecurity (3P)

BLSecurity (3P) Discussion of BLSecurity plug-in

Reply
 
Thread Tools Display Modes
  #1  
Old February 12th, 2016, 09:51 AM
kenthaug kenthaug is offline
Viewer
 
Join Date: Nov 2012
Location: Norway
Posts: 3
PluginFunction – GetCurrentUser

I’m trying to user this PluginFunction. "GetCurrentUser"

HS3 log writhes:
feb-12 14:44:20 Info The current user is:
feb-12 14:44:20 Event Running script in background: C:/Program Files (x86)/HomeSeer HS3/scripts/BLSecurity_GetCurrentUser.vb
feb-12 14:44:20 Event Event Trigger "Alarm Test Alarm ON"

The Reports in the plugin Shows:
12.02.2016 14:39:01 Disarm System was set to Disarmed mode (User: John Doe)
12.02.2016 14:11:13 Arm System was set to Armed mode (User: John Doe)

--
The Script is as following:
Sub Main(Parm As Object)

Dim currentUser As String = hs.PluginFunction("BLSecurity", "", "GetCurrentUser", Nothing)
hs.writelog("Info", "The current user is: " & CurrentUser)
End Sub

---

What am i doing wrong?
Reply With Quote
  #2  
Old February 12th, 2016, 09:55 AM
Blade's Avatar
Blade Blade is online now
OverSeer
 
Join Date: Aug 2003
Location: Ontario Canada
Posts: 7,470
That should work.
Log a ticket on my web site and I will have a look
__________________
Cheers,
Bob
Web site | Help Desk | Feature Requests | Message Board
Reply With Quote
Reply

Bookmarks

Tags
blsecurity, pluginfunction

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PluginFunction Error cfischer HS3 / HS3PRO Discussion 3 October 30th, 2014 07:49 AM
Exception using the PluginFunction JamesWestoby HS3 Plug-In Development 1 August 9th, 2014 07:07 AM
PluginFunction Call mrhappy HS3 Plug-In Development 2 January 27th, 2014 01:24 AM


All times are GMT -4. The time now is 06:34 AM.


Copyright HomeSeer Technologies, LLC