StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
Role Based Security
»
User is Administrator
User is Administrator
Post Reply
Like
1
User is Administrator
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Tim Dol
Tim Dol
posted 17 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 340,
Visits: 1.4K
Is there anyway to find out if the current user is an Administator without having to access the string-typed properties on the SFSUsersBO object? I could not find anything under SecurityBasics.CurrentUser that provides this information.
Thanks
Tim
Reply
Like
1
StrataFrame Team
S
StrataFrame Team
posted 17 Years Ago
ANSWER
Post Details
Share Post
S
Group: StrataFrame Developers
Posts: 3K,
Visits: 2.5K
There is not currently a way to determine if the user is an administrator without the use of reflection. There is a private field called _IsAdministrator within the LoggedOnUser class that contains a Boolean value indicating whether the user is an administrator. I will add a property to the ISecurityUser object that will indicate whether the user is an administrator for the next update.
Reply
Like
0
Tim Dol
Tim Dol
posted 17 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 340,
Visits: 1.4K
Thanks, that will be great.
Reply
Like
1
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Like
1
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search