Can a specific user name be included in a 'User-Defined Rule?
Posted by Merley72 - Oct 1 ’14 at 07:46
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
-
Dmitry KozlovAdminMember for: 8 years 9 months 15 days
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'
-
Merley72MemberMember for: 7 years 9 months 5 days
Hi Dmitry
Thanks for that it works perfectly. Next time I promise to read all of the help text before I ask this kind of question!
Regards
Alan C.
-
wernereegranad75MemberMember for: 1 year 2 months 16 days
In my own experience, you can make a specific user name be included in a 'User-Defined Rule by declaring the value of it on may line of your code. Try the best vehicle in offroad outlaws by making them, yes you heard it right! You can assemble your own vehicle in this awesome racing game by collecting the parts on every matches your played. If you are looking for a strategy game then clash royale is highly recommend for you. Both games can played on your PC or mobile devices too
-
danikhanMemberMember for: 2 years 5 days
If you are not a gold trader, or otherwise connected to the gold business, you might be unaware as to what is the current Today gold rate in Pakistan. It is perfectly understandable: gold rates do tend to change from minute to minute, after all.
-
NathanMemberMember for: 5 months 3 days
Thanks for providing recent updates regarding the concern, I look forward to read more. Peacock Plus free trial
-
NathanMemberMember for: 5 months 3 days
I have bookmarked your website because this site contains valuable information in it. I am really happy with articles quality and presentation. Thanks a lot for keeping great stuff. I am very much thankful for this site. Peacock TV
-
NathanMemberMember for: 5 months 3 days
Its as if you had a great grasp on the subject matter, but you forgot to include your readers. Perhaps you should think about this from more than one angle. Peacock Premium Free Trial
-
NathanMemberMember for: 5 months 3 days
If you don"t mind proceed with this extraordinary work and I anticipate a greater amount of your magnificent blog entries Peacock Premium
-
NathanMemberMember for: 5 months 3 days
It is perfect time to make some plans for the future and it is time to be happy. I've read this post and if I could I desire to suggest you some interesting things or suggestions. Perhaps you could write next articles referring to this article. I want to read more things about it! Paramount Plus Free Trial
-
NathanMemberMember for: 5 months 3 days
I was surfing net and fortunately came across this site and found very interesting stuff here. Its really fun to read. I enjoyed a lot. Thanks for sharing this wonderful information. Paramount Plus