PGV UPN Prefix

Guys.

I have a PGV for the UPN Prefix which is based off the format below. 

%<givenName>.%<sn>

Now this works fine if someone is creating a user with a single last name.  Is there a way to reject the PGV if the UPN Prefix contains a space. For example if someone created an account where the last name was Test Team i would want to the UPN suffix to be rejected. 

Thanks in advance 

Parents
  • I have two thoughts on this:

    1) Use a change workflow with an If-then-Else to check the inbound UPN on a user creation and have it terminate the create if it contains a space
    2) Try and come up with a RegEx expression for the "must not be" rule option in your PGV.  Here's an article that speaks to the topic somewwhat.

Reply
  • I have two thoughts on this:

    1) Use a change workflow with an If-then-Else to check the inbound UPN on a user creation and have it terminate the create if it contains a space
    2) Try and come up with a RegEx expression for the "must not be" rule option in your PGV.  Here's an article that speaks to the topic somewwhat.

Children
No Data