Security

How to get login id of current user ?

Kyeryeon
New Member

Hello

I want to set "User Search Filter" for LDAP

some tool support as like

"This filter is used to determine the LDAP entry for current user. For example: (&(uid={0})(objectclass=person)). In this example, {0} represents login name of current user."

SPlunk,, How to get login id of current user ?

Have a nice day

Tags (2)
0 Karma

s2_splunk
Splunk Employee
Splunk Employee
| rest /services/authentication/current-context | table username
0 Karma

lycollicott
Motivator

This is the correct answer to the question that was asked.

0 Karma

Kyeryeon
New Member

Hello thanks.
but i want to use setting on web page about "User base filter".

Setting > Access controls > Authentication method > LDAP Settings

![alt text][1]

0 Karma

lycollicott
Motivator

First......
Why?

Second......
If you are trying to customize Setting > Access controls > Authentication method > LDAP Settings then you shouldn't do that.

0 Karma
Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...