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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...