The transition to NetApp MS Azure AD B2C is complete. If you missed the pre-registration, you will be invited to reigister at next log in.
Please note that access to your NetApp data may take up to 1 hour.
To learn more, read the FAQ and watch the video.
Need assistance? Complete this form and select “Registration Issue” as the Feedback Category.

General Discussion

ONTAPI to get windows name and SID for local Unix User and Groups.


Volume with security style mixed  is shared as CIFS share.

When we access the CIFS share on windows machine and view permissions it shows UnixPermUid\root, UnixPermGid\root and UnixPerm\other for local Unix users and groups.



The SID for these local Unix user and groups are:

S-1-5-21-2038298172-1297133386-11111-0   for UnixPermUid\root

S-1-5-21-2038298172-1297133386-22222-0   for UnixPermGid\root 

S-1-5-21-2038298172-1297133386-33333       for UnixPerm\other


The ONTAPI to fetch local Unix user users and groups are:


But these ONTAPI are not giving windows name and SID for local Unix users and groups.


How to get the windows name and SID for local Unix users and groups programmatically?

What is the ONTAPI to get windows name and SID for local Unix user and groups?



The way that Windows displays those names and SIDs is, as far as I understand it, an attempt by Windows to approximate UNIX mode bits into something that resembles the style of NTFS permissions. That being said, I don't think you'll be able to get that specific data from the ONTAPI. 

NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner