Udostępnij za pośrednictwem


Accessing User Data

This section contains topics dealing with the My.User object and tasks that you can accomplish with it.

The My.User object provides access to information about the logged-on user by returning an object that implements the IPrincipal interface.

Tasks

To

See

Get the user's login name

How to: Determine a User's Login Name

Get the user's domain name, if the application uses Windows authentication

How to: Determine the User's Domain

Determine the user's role

How to: Determine if a User is in a Group

Implement custom authentication

Walkthrough: Implementing Custom Authentication and Authorization

See Also

Reference

My.User Object

Other Resources

Authentication and Authorization in the .NET Framework with Visual Basic