Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

.NET API Interface to access NPS

163 views
Skip to first unread message

NAPGuru

unread,
Nov 20, 2007, 7:03:02 AM11/20/07
to
Hi,
How do we access the NPS through .NET / SDK program?.
ServerMangercmd.exe helps to access and control the NPS. But it may be
costlier operation for controlling the server through UI.

Please give a sample code/program to access the NPS and print the
configuration with out using servermangercmd.exe.

Thanks and regards,
Bala

James McIllece [MS]

unread,
Nov 26, 2007, 3:17:34 PM11/26/07
to
=?Utf-8?B?TkFQR3VydQ==?= <NAP...@discussions.microsoft.com> wrote in
news:5E314A88-3D2D-438D...@microsoft.com:

Hi Bala --

Not sure I understand the question as I am not a dev, however you can use
the netsh nps commands to display and/or save the configuration to a file
(from which you could print), and to manage the NPS server in general.

Hope that helps --

--
James McIllece, Microsoft

Please do not send email directly to this alias. This is my online account
name for newsgroup participation only.

This posting is provided "AS IS" with no warranties, and confers no rights.

NAPGuru

unread,
Nov 27, 2007, 1:46:00 AM11/27/07
to
Thanks James for the response.
Yes. We can use netsh NPS command to control and retreive NPS server, which
still use command line interface. But it could be helpful for us to get the
sample .ASP and C# code using SDOIASLib.

Thanks and Regards,
Bala

Damu

unread,
Mar 23, 2010, 6:41:03 AM3/23/10
to
Hi Bala,

As you have posted this query regarding .net Api for accessing NPS server
configuration.

Can you please let me know about this if you have got anything.

It is really urgent for me.

Thanks in advance.

James McIllece [MS]

unread,
Mar 29, 2010, 2:29:13 PM3/29/10
to
In the event that you might not be aware of this, and just in case you
find it useful, there is a full range of Network Shell commands that you
can use to configure Network Policy Server.

For more information, please see "Netsh Commands for Network Policy Server"
at http://technet.microsoft.com/en-us/library/cc754428(WS.10).aspx


--
James McIllece, Microsoft

Please do not send email directly to this alias. This is my online account
name for newsgroup participation only.

This posting is provided "AS IS" with no warranties, and confers no rights.


=?Utf-8?B?RGFtdQ==?= <Da...@discussions.microsoft.com> wrote in
news:C770C06E-C45A-4C24...@microsoft.com:

James McIllece [MS]

unread,
Mar 29, 2010, 3:27:50 PM3/29/10
to
"James McIllece [MS]" <jame...@online.microsoft.com> wrote in
news:Xns9D4A74D7E15F6...@207.46.248.16:

> In the event that you might not be aware of this, and just in case you
> find it useful, there is a full range of Network Shell commands that
> you can use to configure Network Policy Server.
>
> For more information, please see "Netsh Commands for Network Policy
> Server" at
> http://technet.microsoft.com/en-us/library/cc754428(WS.10).aspx
>
>

In addition to this information, you can find NPS API information at MSDN:

NPS includes two API sets: NPS Extensions API and Server Data Objects (SDO)
API. Both NPS Extensions API and SDO API are also supported by the
precursor of NPS, the Internet Authentication Service.

NPS Extensions API can be used to extend the authentication, authorization,
and accounting methods offered by NPS and previously by IAS.

Server Data Objects API can be used to manipulate the network policy
configuration on a computer that runs NPS or IAS.

See the following topic: http://msdn.microsoft.com/en-
us/library/bb892034(VS.85).aspx

0 new messages