In USD, we can set the Maximum Number of Sessions by using maxNumberOfSessions. To do this, go to the USD App and click on Options. Create an option called maxNumberOfSessions. Let’s set ours to 1:
Once configured, USD will prevent users from starting new sessions when the maximum is reached. For example, if we have 1 session already running and the maximum is 1, when trying to start a second session, we get the message “The maximum session count was exceeded. Close an existing session and try again”:
I AM SPENDING MORE TIME THESE DAYS CREATING YOUTUBE VIDEOS TO HELP PEOPLE LEARN THE MICROSOFT POWER PLATFORM.
IF YOU WOULD LIKE TO SEE HOW I BUILD APPS, OR FIND SOMETHING USEFUL READING MY BLOG, I WOULD REALLY APPRECIATE YOU SUBSCRIBING TO MY YOUTUBE CHANNEL.
THANK YOU, AND LET'S KEEP LEARNING TOGETHER.
CARL