Transibit View View Ex User ID In InfoPath Forma

Nos a succrevit an InfoPath forma cum multiplex views sustinere novum mercedem / on-boarding process. When the company hires a new person, IS department et aliis coetibus opus ad actio (posuit stipendia, enable accessum ad conveniens applications, locant a desk, etc). We use on form but a different view of the form for each of those functions.

Ad hoc comitatu, maxime personarum in negotium processus sunt IT-sagaces, ita cum obvius forma, eorum Nubila est a "menu" view with buttons that direct them to their specific function. Autem, we needed to simplify things for the new hire’s direct manager. This person should not see any of the IT related stuff. In facto, videret unius formae secundum alias sententias videre nec optare.

In nobis, quod directe procurator scriptor propter directe ligatum ad formam humanitatem de a contactus electrix (quod sum semper volens vocant a "populus picker" enim causa).

Vestigia sunt:

1. In consilium modum, ad Exodus -> Forma Bene -> Aperire et salvum.

2. Lego "praecepta".

3. Novum regula cuius actio est "transibit ad considerandam" et cuius statu Aenean in Username() munus.

Username() redit "simplex" user name without the domain. If I log into SharePoint with credentials "domain\pagalvin", Username() redire "cervicalia".

The contact selector provides three bits of information for a contact. The "AccountID" portion is most useful for this scenario. The only thing that makes this even a little bit of challenge is that the contact selector (in mea environment usquam) redit in dominico et user ID, as in "domain\pagalvin". This prevents us from doing a straight-forward equality condition since AccountID ("Domain cervical") numquam aequare Username() ("Pillow").

Uti possumus in circuitu "continet" operante: AccountID continet Username().

Nos potest ulterius et pre-PROMOVEO durus coded dominico in fronte Username() elit ut nostri aequalitas reprehendo et eliminare periculo a falsa positivum in continet operante.

We would have REALLY like to automatically switch view for other users based on their AD security group membership. Verbigratia, cum membrum "IT Analytics" coetus aditus forma, automatically switch to the IT Analytics view. We didn’t have time to implement it, sed primum cogitatio est creare telam ministerium quod esset modus sicut "IsMemberOfActiveDirectorySecurityGroup", transire in Username() and return back true or false. Does anyone have any other, magis callidus idea? Is there any SharePoint function we can leverage from InfoPath to make that determination?

</finem>

Technorati Tags:

3 cogitationes on "Transibit View View Ex User ID In InfoPath Forma

  1. Pingback: Infopath Switch View Based On User « Sladescross's Blog

Aliquam

Tua inscriptio electronica non editis. Velit sunt insignis *