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!

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to Officially Supported Splunk ...