Working with custom role in VB.NET win application

Posted by fireBand on Stack Overflow See other posts from Stack Overflow or by fireBand
Published on 2010-04-21T14:22:16Z Indexed on 2010/04/22 7:23 UTC
Read the original article Hit count: 239

Hi,

I am looking for ways to implement custom user-roles in windows application with vb.net. I got a database table called Roles with Administrator and User entries. User cannot see some of the form data. In ASP.NET MVC we can do like.

[Authorize(Roles = "Administrator")]
public function GetAccount() as Array

End Function

If it could be done this way that would be great.

Thanks in advance.

© Stack Overflow or respective owner

Related posts about vb.net

Related posts about user-roles