Public Attributes | List of all members
Wix::Extensions::UserPrivileges::LocalGroupMember Class Reference

Public Attributes

string Id
 
string UserId
 
string GroupId
 
YesNoType AddOnInstall
 
YesNoType AddOnUnInstall
 
YesNoType RemoveOnInstall
 
YesNoType RemoveOnUnInstall
 
YesNoType CheckIfMember
 

Detailed Description

Adds or removes a user in a local group.

When nested under a Component, a LocalUser under a Component or a LocalGroup under a Component, component conditions apply.

Example:
<Wix ... xmlns:UserPrivileges="http://schemas.appsecinc.com/wix/UserPrivilegesExtension">
<Component ...>
<UserPrivileges:LocalUser Id="DemoLocalUser1" Username="DemoLocalUser1" Password="admin123" CreateOnInstall="yes" DeleteOnUnInstall="yes" CheckIfExists="yes" />
<UserPrivileges:LocalGroup Id="DemoLocalGroup1" Name="DemoLocalGroup1" Description="Demo local group 1 should contain a user after installation." CheckIfExists="yes" CreateOnInstall="yes" DeleteOnUnInstall="yes">
<UserPrivileges:LocalGroupMember Id="DemoLocalUser1_DemoLocalGroup1_Member" UserId="DemoLocalUser1" AddOnInstall="yes" RemoveOnUnInstall="yes" CheckIfMember="yes" />
</UserPrivileges:LocalGroup>
</Component>
</Wix>
May be nested under Component, Product, Module, Fragment, LocalGroup, LocalUser.

Member Data Documentation

YesNoType Wix::Extensions::UserPrivileges::LocalGroupMember::AddOnInstall

Add user at install time.

YesNoType Wix::Extensions::UserPrivileges::LocalGroupMember::AddOnUnInstall

Add user at uninstall time.

YesNoType Wix::Extensions::UserPrivileges::LocalGroupMember::CheckIfMember

Check whether the user is a group member before adding or removing it. Add the user if it's not a group member. Remove the user if it is a group member.

string Wix::Extensions::UserPrivileges::LocalGroupMember::GroupId

Group to add or remove the user to.

string Wix::Extensions::UserPrivileges::LocalGroupMember::Id

Identifier for the group member.

YesNoType Wix::Extensions::UserPrivileges::LocalGroupMember::RemoveOnInstall

Remove user at install time.

YesNoType Wix::Extensions::UserPrivileges::LocalGroupMember::RemoveOnUnInstall

Remove user at uninstall time.

string Wix::Extensions::UserPrivileges::LocalGroupMember::UserId

User to add or remove to/from the group.


The documentation for this class was generated from the following file:


© Application Security Inc. - All Rights Reserved http://msiext.codeplex.com