Role of current windows login user
- From: "Mark White" <markw2927@xxxxxxxxx>
- Date: Sat, 14 Jan 2006 21:44:02 -0500
Hey everyone
I'm having a great deal of problems finding this information through google
and yahoo, so I turn to you on this.
I have a Windows app running on XP. I am able to caputre the user's Name
property in the WindowsPrincipal's IIdentity interface.
Where can I find the role that the user is assigned for the current login?
I only want the one role which is assigned for the current user, not all of
the groups in which the user belongs (that is working fine).
Do I have to actually test out permissions on files/objects to find the
current role/group? Seems to be a lot of work going that route for
something which should be accessible in the same interface as Name. Why
isn't it?
I'm on 1.1 btw. Has this changed in 2.0?
Thank you in advance for any help you can give me.
Mark White
.
- Follow-Ups:
- Re: Role of current windows login user
- From: Willy Denoyette [MVP]
- Re: Role of current windows login user
- Prev by Date: SQL Server Triggers and Defaults not firing on Windows form
- Next by Date: Re: Set alphabetical as default in VS property editors?
- Previous by thread: SQL Server Triggers and Defaults not firing on Windows form
- Next by thread: Re: Role of current windows login user
- Index(es):
Loading