Check if user is a Domain User or Local User

142 views
Skip to first unread message

mitja...@gmail.com

unread,
Oct 15, 2024, 3:19:59 AMOct 15
to Harbour Users
Fuction hb_username() returns current username - is possible to check if that user is logged localy or into domain?

regards,
Mitja

Gerald Drouillard

unread,
Oct 15, 2024, 8:24:55 AMOct 15
to harbou...@googlegroups.com
There are many "Set" variables that can help you.  Look at using getenv()

--
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: https://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/0e630a67-fd6f-4b86-9fba-6b8d70523227n%40googlegroups.com.

mitja...@gmail.com

unread,
Oct 16, 2024, 12:13:29 AMOct 16
to Harbour Users
Of course! Stupid me ;)

Many thanks!
Mitja

torek, 15. oktober 2024 ob 14:24:55 UTC+2 je oseba Gerald Drouillard napisala:
Reply all
Reply to author
Forward
0 new messages