![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi there, I am new to IWP and am struggling with a few basic issues...thank you for any help :0) I need to have web users to login and want them to only see records assigned to their UserName and only they will only see certain layouts. I have no idea how to write the script to do this... Assuming in the start up I would have something like If its a local intranet user then use this startup script If webuserX use this startup script... Thanks T |
#3
| |||
| |||
|
|
In article <452222b8$0$11972$afc38c87 (AT) news (DOT) optusnet.com.au>, "Toni" <toni (AT) dataspecifics (DOT) com.au> wrote: Hi there, I am new to IWP and am struggling with a few basic issues...thank you for any help :0) I need to have web users to login and want them to only see records assigned to their UserName and only they will only see certain layouts. I have no idea how to write the script to do this... Assuming in the start up I would have something like If its a local intranet user then use this startup script If webuserX use this startup script... Thanks T When you define the privilege set for each account, you define what tables, records and layouts that account holder can see, and whether they can modify any of them. You also define their privileges regarding seeing, modifying and using scripts and value lists. All these things are in the definition of the privilege set, and do not need to be controlled by a script. In order to limit the access to particular records, the records have to be identifiable by some calculation that you define in the privilege set. In general this means that there has to be some field or combination of fields that identifies the records for purposes of this calculation. Fore example, you can define a field that records the account name that created the record. That could be used to allow subsequent access only to records that account name created. I'm not saying you should do this, it is only an example of the kind of thing you can do to limit access to particular records. There are many other possibilities, depending on your needs. -- For email, change <fake> to <earthlink Bill Collins |
#4
| |||
| |||
|
|
"Bill" <bbcollins (AT) fake (DOT) net> wrote in message news:bbcollins-00711D.06145503102006 (AT) news (DOT) west.earthlink.net... In article <452222b8$0$11972$afc38c87 (AT) news (DOT) optusnet.com.au>, "Toni" <toni (AT) dataspecifics (DOT) com.au> wrote: Hi there, I am new to IWP and am struggling with a few basic issues...thank you for any help :0) I need to have web users to login and want them to only see records assigned to their UserName and only they will only see certain layouts. I have no idea how to write the script to do this... Assuming in the start up I would have something like If its a local intranet user then use this startup script If webuserX use this startup script... Thanks T When you define the privilege set for each account, you define what tables, records and layouts that account holder can see, and whether they can modify any of them. You also define their privileges regarding seeing, modifying and using scripts and value lists. All these things are in the definition of the privilege set, and do not need to be controlled by a script. In order to limit the access to particular records, the records have to be identifiable by some calculation that you define in the privilege set. In general this means that there has to be some field or combination of fields that identifies the records for purposes of this calculation. Fore example, you can define a field that records the account name that created the record. That could be used to allow subsequent access only to records that account name created. I'm not saying you should do this, it is only an example of the kind of thing you can do to limit access to particular records. There are many other possibilities, depending on your needs. -- For email, change <fake> to <earthlink Bill Collins Thanks Bill, As dopey as this sounds... how to I record the AccountName who created the record which would happen to be the same at the Inspector the job is assigned to... Any way AccountName can be UserName... I thought it might be as simple as a Calculation field with Get (AccountName) but cant find one? t |
#5
| |||
| |||
|
|
In article <452352d8$0$2917$afc38c87 (AT) news (DOT) optusnet.com.au>, "Toni" <toni (AT) dataspecifics (DOT) com.au> wrote: "Bill" <bbcollins (AT) fake (DOT) net> wrote in message news:bbcollins-00711D.06145503102006 (AT) news (DOT) west.earthlink.net... In article <452222b8$0$11972$afc38c87 (AT) news (DOT) optusnet.com.au>, "Toni" <toni (AT) dataspecifics (DOT) com.au> wrote: Hi there, I am new to IWP and am struggling with a few basic issues...thank you for any help :0) I need to have web users to login and want them to only see records assigned to their UserName and only they will only see certain layouts. I have no idea how to write the script to do this... Assuming in the start up I would have something like If its a local intranet user then use this startup script If webuserX use this startup script... Thanks T When you define the privilege set for each account, you define what tables, records and layouts that account holder can see, and whether they can modify any of them. You also define their privileges regarding seeing, modifying and using scripts and value lists. All these things are in the definition of the privilege set, and do not need to be controlled by a script. In order to limit the access to particular records, the records have to be identifiable by some calculation that you define in the privilege set. In general this means that there has to be some field or combination of fields that identifies the records for purposes of this calculation. Fore example, you can define a field that records the account name that created the record. That could be used to allow subsequent access only to records that account name created. I'm not saying you should do this, it is only an example of the kind of thing you can do to limit access to particular records. There are many other possibilities, depending on your needs. -- For email, change <fake> to <earthlink Bill Collins Thanks Bill, As dopey as this sounds... how to I record the AccountName who created the record which would happen to be the same at the Inspector the job is assigned to... Any way AccountName can be UserName... I thought it might be as simple as a Calculation field with Get (AccountName) but cant find one? t Get(AccountName) is one of the numerous Get functions. See the Get function in the FMP 8.5 Help file. -- For email, change <fake> to <earthlink Bill Collins |
![]() |
| Thread Tools | |
| Display Modes | |
| |