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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...