User Authentication

J

JJ

I am using Sharepoint 2003 w/ Infopath. I would like to create a section in a form that will only display items to specific users. I do not see any options under "Conditional Formatting" to authenticate users either by domain\username or by their sharepoint group assosciation.

Is it possible to do conditional formatting for users? If so, please point me in the right direction.

Thanks,
JJ
 
A

Alex

What I do is get the users login then search the AD for
their properties and set a node with whatever info you
need to authenticate. I then use conditional formatting
based on the value of that node.
Hope this helps

-----Original Message-----
I am using Sharepoint 2003 w/ Infopath. I would like to
create a section in a form that will only display items to
specific users. I do not see any options
under "Conditional Formatting" to authenticate users
either by domain\username or by their sharepoint group
assosciation.
Is it possible to do conditional formatting for users?
If so, please point me in the right direction.
 
A

Alex

On another note you can set up an 'admin' database and
have the users logins in there.
E.g I have a table with people logins and form type and
run a select query on this based on the users login. If
the user exists in this table set node to TRUE if not
FALSE and run your conditional formatting of there.

-----Original Message-----
I am using Sharepoint 2003 w/ Infopath. I would like to
create a section in a form that will only display items to
specific users. I do not see any options
under "Conditional Formatting" to authenticate users
either by domain\username or by their sharepoint group
assosciation.
Is it possible to do conditional formatting for users?
If so, please point me in the right direction.
 
M

Matthew Blain \(Serriform\)

SP-1 has this concept, called roles.

--Matthew Blain
http://tips.serriform.com/


JJ said:
I am using Sharepoint 2003 w/ Infopath. I would like to create a section
in a form that will only display items to specific users. I do not see any
options under "Conditional Formatting" to authenticate users either by
domain\username or by their sharepoint group assosciation.
Is it possible to do conditional formatting for users? If so, please
point me in the right direction.
 
P

Patrick Halstead

I think a combination of Alex and Matthew's advice will work.

You can check the role of a user to determine whether you should switch a
view on opening. One of the issues with roles is that they are more
complicated to implement if a user plays multiple roles. The order of the
role does matter.

To do conditional formatting, you'll want to check that the user belongs to
a group. You can use AD (Roger Jennings has a good example on his
www.oakleaf.ws site) , or check the name in a secondary data resource. The
secondary data resource can be a hardcoded xml file, or you can use
SharePoint's UserProfile web service. Both will require that you get the
username via code and that will require a full trust. Another alternative is
to call a webservice that returns membership.

JJ said:
I am using Sharepoint 2003 w/ Infopath. I would like to create a section
in a form that will only display items to specific users. I do not see any
options under "Conditional Formatting" to authenticate users either by
domain\username or by their sharepoint group assosciation.
Is it possible to do conditional formatting for users? If so, please
point me in the right direction.
 
Top