Moonware.Server.WCF
DeleteUser Method



The username.
Deletes the user.
Syntax
'Declaration
 
<OperationBehaviorAttribute()>
<PrincipalPermissionAttribute(Name="", 
   Role="Administrator", 
   Authenticated=True, 
   Action=SecurityAction.Demand, 
   Unrestricted=False)>
Public Function DeleteUser( _
   ByVal username As String _
) As Boolean
'Usage
 
Dim instance As MoonwareServerWCF
Dim username As String
Dim value As Boolean
 
value = instance.DeleteUser(username)
[OperationBehaviorAttribute()]
[PrincipalPermissionAttribute(Name="", 
   Role="Administrator", 
   Authenticated=true, 
   Action=SecurityAction.Demand, 
   Unrestricted=false)]
public bool DeleteUser( 
   string username
)
[OperationBehaviorAttribute()]
[PrincipalPermissionAttribute(Name="", 
   Role="Administrator", 
   Authenticated=true, 
   Action=SecurityAction.Demand, 
   Unrestricted=false)]
public:
bool DeleteUser( 
   String^ username
) 

Parameters

username
The username.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

MoonwareServerWCF Class
MoonwareServerWCF Members

Send Feedback