﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Role Based Security  » Role Based Security and Terminal Server...</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 06:15:21 GMT</lastBuildDate><ttl>20</ttl><item><title>Role Based Security and Terminal Server...</title><link>http://forum.strataframe.net/FindPost4474.aspx</link><description>Am I correct in assuming that the workstation restriction wouldn't really work in a terminal server environment?&lt;P&gt;Also... let me know if this is possible... We use terminal server instead of deploying our apps to individual computers. This way the front end and the database are on separate computers in the same location so we dont worry about performance over the WAN. &lt;/P&gt;&lt;P&gt;If we were to use&amp;nbsp;Role-Based Security is there a way that we could&amp;nbsp;log the user in automatically based on the user name they used to log into terminal server? This isnt a big deal but this would require that the user log in three times to get to the app, once on their computer, once to the terminal server, and again at the app. I realize that because of the way we're structured this isnt your fault :hehe: i was just wondering if its possible.</description><pubDate>Thu, 30 Nov 2006 08:54:40 GMT</pubDate><dc:creator>StarkMike</dc:creator></item><item><title>RE: Role Based Security and Terminal Server...</title><link>http://forum.strataframe.net/FindPost4861.aspx</link><description>The LoginResult will tell you whether the user successfully authenticated or not.&amp;nbsp; Also, if you just want to authenticate the user and you don't want to change the currently logged in user, you can use Login.AuthenticateUser().</description><pubDate>Thu, 30 Nov 2006 08:54:40 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Role Based Security and Terminal Server...</title><link>http://forum.strataframe.net/FindPost4850.aspx</link><description>By using the SetLoggedInUser method all it does is return a loginresult... how would I be able to tell if the password or username was incorrect?</description><pubDate>Wed, 29 Nov 2006 15:08:21 GMT</pubDate><dc:creator>StarkMike</dc:creator></item><item><title>RE: Role Based Security and Terminal Server...</title><link>http://forum.strataframe.net/FindPost4496.aspx</link><description>Sure :D</description><pubDate>Wed, 15 Nov 2006 09:31:49 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Role Based Security and Terminal Server...</title><link>http://forum.strataframe.net/FindPost4488.aspx</link><description>AWESOME! Thanks. :cool:</description><pubDate>Wed, 15 Nov 2006 09:22:43 GMT</pubDate><dc:creator>StarkMike</dc:creator></item><item><title>RE: Role Based Security and Terminal Server...</title><link>http://forum.strataframe.net/FindPost4485.aspx</link><description>[quote]&lt;SPAN id=_ctl1__ctl0_ctlTopic__ctl0_ctlPanelBar_ctlTopicsRepeater__ctl1_lblFullMessage&gt;Am I correct in assuming that the workstation restriction wouldn't really work in a terminal server environment?&lt;/SPAN&gt;[/quote]&lt;/P&gt;&lt;P&gt;No, this would not work on a Terminal Server since the machine name is the same.&amp;nbsp; In this case, just apply a restriction set to a user.&lt;/P&gt;&lt;P&gt;[quote]If we were to use&amp;nbsp;Role-Based Security is there a way that we could&amp;nbsp;log the user in automatically based on the user name they used to log into terminal server?[/quote]&lt;/P&gt;&lt;P&gt;Sure.&amp;nbsp; You would just handle the login yourself instead of going through a login form.&amp;nbsp; For example, you can login like you would for a web environment by calling the AuthenticateUser() and SetLoggedInUser().&amp;nbsp; You can find more about this in the help documentation:&lt;/P&gt;&lt;P&gt;Defining Security within the Application -&amp;gt; Programmatic Access -&amp;gt; Login Class -&amp;gt; Methods</description><pubDate>Wed, 15 Nov 2006 09:19:14 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>