Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5797 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I'm an old hand at FMP6 but fairly new to FMP9. I'm working from a template of somebody else's work. In order to validate that I am indeed properly logged on with the correct identity and associated FMP privilege set, I create this calc in the same table as controls the layout layout I'll use it in. The calc itself also identifies that same table as the context.

"Current Account Name set is " & Get ( AccountName ) &

" current Privilege Set is " & Get ( PrivilegeSetName )

When logging in with a user account name and password, I would assume this should return that user's name and privilege set. But it doesn't. It returns the Admin account name and the Full Access set of privileges. This is not a cache issue because I've quit FMP9 and reloaded the solution. Same result.

What am I missing? Can you clarify what's going on?

Kind regards,

  • 3 weeks later...
  • Newbies
Posted

Is it unstored? These statuses, if used in calculation fields, must be unstored.

Please excuse my ignorance. I'm new to working in FMP, how do you unstore a status?

Thank you in advance!

Posted

The calculation field is set to "unstored" in the Storage options of the field definitions.

  • Newbies
Posted

I think the problem I'm having is because of privilege sets, but I'm new to Filemaker and don't understand them. I created a file on my Mac, but when I open it on my PC, I'm unable to access anything on the Layout view - a big black square appears whenever I try to select anything. Could you walk me through how to access the same privilege set?

PC is Vista Business

Posted

The big black square is FMP hiding the layout because the user has no view privileges.

Open the file with the full access account. Check which account the file is being opened with. Then check which privilege set the account uses. In the privilege set, check the privileges set for the layouts.

  • 3 months later...
Posted

I know many of you are going to think that I don't know what I'm doing, but I can assure you I have a great deal of experience with accounts and privileges. However, just in the past few days, I'm having a similar problem -- and I'm wondering if there might be some kind of bug/corruption in my files.

I've set a dialogue to tell me the account (get(accountname)) and privilege set (Get ( PrivilegeSetName ) ). It doesn't appear to be stored or cached, especially since it's a dialogue, but the account name and the privilege set don't match. In other words, even though the log-in account has specific privileges, the privileges indicated by Get ( PrivilegeSetName ) are different.

Even odder is the fact that even though Get ( PrivilegeSetName ) indicates "[Full Access]" the user doesn't, in fact, have full access.

Get ( PrivilegeSetName ) suddenly does not work in an "If" statement.

Has anyone seen this? Does anybody have a clue about what might be going on?

Posted

I know many of you are going to think that I don't know what I'm doing, but I can assure you I have a great deal of experience with accounts and privileges. However, just in the past few days, I'm having a similar problem -- and I'm wondering if there might be some kind of bug/corruption in my files.

I've set a dialogue to tell me the account (get(accountname)) and privilege set (Get ( PrivilegeSetName ) ). It doesn't appear to be stored or cached, especially since it's a dialogue, but the account name and the privilege set don't match. In other words, even though the log-in account has specific privileges, the privileges indicated by Get ( PrivilegeSetName ) are different.

Even odder is the fact that even though Get ( PrivilegeSetName ) indicates "[Full Access]" the user doesn't, in fact, have full access.

Get ( PrivilegeSetName ) suddenly does not work in an "If" statement.

Has anyone seen this? Does anybody have a clue about what might be going on?

Posted

But it didn't work that way previously with this particular script, and full access was checked.

Still, I unchecked it, and that corrected the problem.

Maybe I'm just really tired!

This topic is 5797 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.