Is a User in RoleX


Author
Message
Ger Cannoll
Ger Cannoll
Advanced StrataFrame User (804 reputation)Advanced StrataFrame User (804 reputation)Advanced StrataFrame User (804 reputation)Advanced StrataFrame User (804 reputation)Advanced StrataFrame User (804 reputation)Advanced StrataFrame User (804 reputation)Advanced StrataFrame User (804 reputation)Advanced StrataFrame User (804 reputation)Advanced StrataFrame User (804 reputation)
Group: StrataFrame Users
Posts: 430, Visits: 507
I want to be able to determine if the Current Logged on user is a Member of a particular Role . How do I do this

e.g.

if (   SecurityBasics.CurrentUser.UserName IsAmemberofRole("EuropeanRoles")     Wink

{ EuropeanMethod() ;}

 

Is there a method similar to IsMemberOfRole so I can determine if the Loggedon User is a member of a partcular role ?

 

 

Ivan George Borges
Ivan George Borges
Strategic Support Team Member (4.6K reputation)Strategic Support Team Member (4.6K reputation)Strategic Support Team Member (4.6K reputation)Strategic Support Team Member (4.6K reputation)Strategic Support Team Member (4.6K reputation)Strategic Support Team Member (4.6K reputation)Strategic Support Team Member (4.6K reputation)Strategic Support Team Member (4.6K reputation)Strategic Support Team Member (4.6K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
Hi Ger.

This will probably get you there:

http://forum.strataframe.net/FindPost20643.aspx
Ger Cannoll
Ger Cannoll
Advanced StrataFrame User (804 reputation)Advanced StrataFrame User (804 reputation)Advanced StrataFrame User (804 reputation)Advanced StrataFrame User (804 reputation)Advanced StrataFrame User (804 reputation)Advanced StrataFrame User (804 reputation)Advanced StrataFrame User (804 reputation)Advanced StrataFrame User (804 reputation)Advanced StrataFrame User (804 reputation)
Group: StrataFrame Users
Posts: 430, Visits: 507
Many Thanks Ivan
Ivan George Borges
Ivan George Borges
Strategic Support Team Member (4.6K reputation)Strategic Support Team Member (4.6K reputation)Strategic Support Team Member (4.6K reputation)Strategic Support Team Member (4.6K reputation)Strategic Support Team Member (4.6K reputation)Strategic Support Team Member (4.6K reputation)Strategic Support Team Member (4.6K reputation)Strategic Support Team Member (4.6K reputation)Strategic Support Team Member (4.6K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
You're welcome Ger. Cool
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search