Can a specific user name be included in a 'User-Defined Rule?
Hi,
I'm wanting to see if the name of a specific user (John Doe for example), can be included in a Group Editor option when I select that to have a User-Defined Rule instead of a SharePoint Group? I'd like to also check if a particular status has been applied to document as well (for example - Validate) at the same time.
Checking the Validate status is easy ( [Status] == 'Validate' ), but getting the current user's name ( ContainsCurrentUser ) to be able to match a user name seems complicated. I've used all manner of variants but think it might be down to the way SharePoint sees users. Am I missing something here? Should I do it a different way? Can anyone guide me in this procewss please.
Thanks in advance. Alan C
I'm wanting to see if the name of a specific user (John Doe for example), can be included in a Group Editor option when I select that to have a User-Defined Rule instead of a SharePoint Group? I'd like to also check if a particular status has been applied to document as well (for example - Validate) at the same time.
Checking the Validate status is easy ( [Status] == 'Validate' ), but getting the current user's name ( ContainsCurrentUser ) to be able to match a user name seems complicated. I've used all manner of variants but think it might be down to the way SharePoint sees users. Am I missing something here? Should I do it a different way? Can anyone guide me in this procewss please.
Thanks in advance. Alan C
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Hi Alan,
Please, try the following formula:
[Status] == 'Validate' && CurrentUserName == 'John Doe'
You can also check the current user by login:
[Status] == 'Validate' && CurrentUserLogin == 'DOMAIN\login'
Please, try the following formula:
[Status] == 'Validate' && CurrentUserName == 'John Doe'
You can also check the current user by login:
[Status] == 'Validate' && CurrentUserLogin == 'DOMAIN\login'
-
- Information
-
Who is online
Users browsing this forum: No registered users and 15 guests