0
votes

I want add access for '<domain>\domain users' account on feature installation.

So, may be Sharepoint has 'default' windows domain, which I can use for generate login name?

After installation application will provide possibility for add any other domain, but during install it will be nice to add access for 'default' domain users.

P.S. This is need for add user through SiteUsers.Add('XXX\Domain Users' ...), not by hands.

Sharepoint: WSS 3.0

1

1 Answers

0
votes

I'm not sure I understand your question correctly, but when you install SharePoint, it will use Windows Authentication by default.

This means that your SharePoint application will already know about all the domain users. You don't need to generate a login name for then, they will just use their windows login name (and the security will be integrated when they use internet explorer, they will only have to login when they use other browsers.).

You can then set permissions the way you want using NT groups or SharePoint groups or both.

If I didn't understand the question, could you please clarify what you mean by "feature installation"?